Added ability to restart the server from the frontend

Dockerfile/entrypoint.sh now uses nodemon enabling restarting from the UI in a container
This commit is contained in:
Isaac Abadi
2021-03-16 22:41:07 -06:00
parent 1f0153b17e
commit 4643efbae0
7 changed files with 38 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
CMD="node app.js"
CMD="npm start"
# if the first arg starts with "-" pass it to program
if [ "${1#-}" != "$1" ]; then