Dockerfile: run app instead of recompiling

This commit is contained in:
Paul Munteanu 2021-05-29 22:33:31 +03:00
parent 90f2536e41
commit fbfe757c9e
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917

View File

@ -6,4 +6,4 @@ RUN npx patch-package
COPY . .
EXPOSE 3001
RUN npm run build
CMD ["npm", "start"]
CMD ["node", "dist/start.js"]