diff --git a/Dockerfile b/Dockerfile
index d1ba75887be88d8ce3d1f69d67268f1d87f2777c..5700b666304c06f724105cc47cec1782e8fbcfcc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,3 +24,10 @@ RUN sh /tmp/library-scripts/provide-nginx-with-httpg.sh
 COPY ngx-http-voms-module /ngx-http-voms-module
 COPY t /home/nginx/t
 RUN sh /tmp/library-scripts/provide-ngx-http-voms-module.sh
+
+CMD ["nginx"]
+
+ENV TINI_VERSION v0.19.0
+ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
+RUN chmod +x /tini
+ENTRYPOINT ["/tini", "--"]