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 zlib-dev
COPY package.json ./ COPY package.json ./
RUN yarn install RUN yarn install --prod=false
COPY . ./ COPY . ./
RUN yarn build RUN yarn build
RUN yarn install --prod
FROM base AS runner FROM base AS runner