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 ...@@ -11,4 +11,4 @@ COPY ./docker-entrypoint.sh /docker-entrypoint.sh
COPY ./nginx/default.conf.tmpl /etc/nginx/conf.d/default.conf.tmpl COPY ./nginx/default.conf.tmpl /etc/nginx/conf.d/default.conf.tmpl
COPY ./pad.js /app/src/static/custom/pad.js COPY ./pad.js /app/src/static/custom/pad.js
EXPOSE 80 EXPOSE 80
CMD [ "/docker-entrypoint.sh" ] ENTRYPOINT [ "/docker-entrypoint.sh" ]
...@@ -48,5 +48,4 @@ done ...@@ -48,5 +48,4 @@ done
set -e set -e
nginx nginx
export NODE_ENV=production export NODE_ENV=production
node node_modules/ep_etherpad-lite/node/server.js exec node node_modules/ep_etherpad-lite/node/server.js
Supports Markdown
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