diff --git a/Dockerfile b/Dockerfile index c65daf2..0f8d96c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,11 +41,6 @@ ENV HB_HOST=homebrewery.local.naturalcrit.com:8000 HB_NATURALCRIT_URL=local.natu ENV HB_ENABLE_THEMES=true HB_PUBLIC_URL=https://homebrewery.naturalcrit.com HB_DB_URI=mongodb://mongodb/homebrewery ENV HB_IMAGES=null HB_FONTS=null -# Adding tini for clean signal handling -ENV TINI_VERSION v0.19.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini -RUN chmod +x /tini - # Adding Entrypoint COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 0d862a3..a05580d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -32,4 +32,4 @@ fi # Start Homebrewery echo "Starting Homebrewery..." -exec /tini -s -g -- node --experimental-require-module "$@" server.js +exec /usr/local/bin/npm start "$@"