update Dockerfile

This commit is contained in:
Dawid Wysokiński 2021-04-24 19:40:06 +02:00
parent 3673f0fbbd
commit 11cd310bc5
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FROM node:14.16.1-alpine as build-deps
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
RUN yarn
RUN yarn install --frozen-lockfile
COPY . ./
ENV NODE_ENV=production
RUN yarn build