add tests; resync files, forgot where i was.

This commit is contained in:
41666 2019-03-29 13:59:57 -05:00
parent 6b36b1d5f2
commit 1a794e2d7e
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
30 changed files with 3654 additions and 534 deletions

View file

@ -1,4 +1,4 @@
FROM node:10 AS builder
FROM node:11 AS builder
WORKDIR /src
COPY . /src
# we double yarn here to strip off dev-only packages that are needed at build time.
@ -6,7 +6,7 @@ RUN yarn --frozen-lockfile &&\
yarn build &&\
yarn --prod --frozen-lockfile
FROM mhart/alpine-node:10
FROM mhart/alpine-node:11
ENV NODE_ENV production
WORKDIR /dist
COPY --from=builder /src /dist