Commit 0667fd6e authored by Daniel LACROIX's avatar Daniel LACROIX
Browse files

correct container to correctly handle SIGTERM signal and allow faster stop

parent 5b540f4e
......@@ -11,4 +11,4 @@ COPY ./docker-entrypoint.sh /docker-entrypoint.sh
COPY ./nginx/default.conf.tmpl /etc/nginx/conf.d/default.conf.tmpl
COPY ./pad.js /app/src/static/custom/pad.js
EXPOSE 80
CMD [ "/docker-entrypoint.sh" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]
......@@ -48,5 +48,4 @@ done
set -e
nginx
export NODE_ENV=production
node node_modules/ep_etherpad-lite/node/server.js
exec node node_modules/ep_etherpad-lite/node/server.js
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment