Merge pull request #864 from nardis556/master

Update entrypoint.sh
This commit is contained in:
Glassed Silver
2023-05-11 03:19:50 +02:00
committed by GitHub

View File

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