update Dockerfile
This commit is contained in:
parent
3673f0fbbd
commit
11cd310bc5
|
@ -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
|
||||
|
|
Reference in New Issue