feature/24-production_dockerfile #30

Merged
niggl merged 15 commits from feature/24-production_dockerfile into dev 2020-12-12 19:03:24 +00:00
Showing only changes of commit 95f40a9c28 - Show all commits

View File

@ -21,5 +21,8 @@ COPY --from=0 /app/dist dist
RUN npm i --production RUN npm i --production
RUN npm i sqlite3 RUN npm i sqlite3
RUN npm i pm2 -g RUN npm i pm2 -g
HEALTHCHECK CMD curl --fail http://localhost:4010 || exit 1
ENTRYPOINT ["pm2-runtime","dist/app.js"] ENTRYPOINT ["pm2-runtime","dist/app.js"]
# ENTRYPOINT ["node","dist/app.js"] # ENTRYPOINT ["node","dist/app.js"]