update dockerfile

This commit is contained in:
rinsuki 2019-07-19 00:49:06 +09:00
parent 275b7c1bf4
commit 1a7e184be5

View file

@ -23,9 +23,10 @@ RUN apk add --no-cache \
zlib-dev
COPY package.json ./
RUN yarn install
RUN yarn install --prod=false
COPY . ./
RUN yarn build
RUN yarn install --prod
FROM base AS runner