fix(start): change the way the app is launched

* And updated README accordingly
This commit is contained in:
Florent Chehab
2020-04-20 11:03:07 +02:00
parent 033d01e1cf
commit 0ef46fea2f
4 changed files with 17 additions and 13 deletions

View File

@@ -35,4 +35,4 @@ COPY scripts ./scripts
COPY --from=base /opt/app/dist ./dist
EXPOSE 8080
ENTRYPOINT [ "npm", "run", "start:prod-no-build" ]
ENTRYPOINT ["node", "scripts/server.js", "--mode=production"]