Fix docker builds

This commit is contained in:
Paul Munteanu
2021-07-28 01:55:59 +03:00
parent 2823e3d947
commit e1b2b96821
3 changed files with 71 additions and 2 deletions
+2 -2
View File
@@ -7,5 +7,5 @@ RUN npm rebuild bcrypt --build-from-source && npm rebuild canvas --build-from-so
RUN npm install
COPY . .
EXPOSE 3001
RUN npm run build
CMD ["node", "dist/start.js"]
RUN npm run build-docker
CMD ["node", "dist/start.js"]