update dockerfile

This commit is contained in:
rinsuki 2019-07-19 00:49:06 +09:00
parent 7b31053bab
commit b56ea1b57a

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