decla-red/backend/Dockerfile
schmelczerandras ec0520698e Fix build
2020-10-17 19:06:41 +02:00

11 lines
153 B
Docker

FROM node:14.13.0-alpine3.10
COPY package.json .
RUN yarn install --production=true
COPY dist/main.js main.js
EXPOSE 3000
CMD [ "node", "main.js" ]