Fix docker build

This commit is contained in:
schmelczerandras 2020-10-20 10:00:28 +02:00
parent 909b69392d
commit 91079c0420
2 changed files with 3 additions and 2 deletions

View file

@ -7,8 +7,9 @@ RUN yarn && yarn run build
FROM node:14.13.0-alpine3.10
ENV NODE_ENV=production
COPY backend/package.json .
RUN yarn
RUN npm i --production
COPY --from=build backend/dist/main.js main.js