diff --git a/Dockerfile b/Dockerfile index 1cc7707..b274e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,4 +44,5 @@ FROM setup as prod USER "${USER}" WORKDIR "${USER_HOME}/SquadJS" -ENTRYPOINT ["/usr/bin/node", "./index.js"] +COPY ./scripts/entry.sh . +ENTRYPOINT ["/bin/sh", "entry.sh"] diff --git a/scripts/entry.sh b/scripts/entry.sh new file mode 100644 index 0000000..e5b65c9 --- /dev/null +++ b/scripts/entry.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +printf "Starting SquadJS...\n" +sleep 10 +/usr/bin/node ./index.js +