set entry point for dockerfile

This commit is contained in:
Henry Oswald
2018-03-06 10:59:40 +00:00
parent 96a237fb74
commit aca9100c52
3 changed files with 7 additions and 3 deletions

View File

@@ -23,5 +23,4 @@ RUN useradd --user-group --create-home --home-dir /app --shell /bin/false app
RUN [ -e ./install_deps.sh ] && ./install_deps.sh
# USER app
CMD ["node","app.js"]
ENTRYPOINT ["/bin/sh", "entrypoint.sh"]