From 04b87c4b508ecc60b8831f3352585fb004f5be2f Mon Sep 17 00:00:00 2001
From: lcappelli <laura.cappelli@cnaf.infn.it>
Date: Wed, 16 Nov 2022 15:45:44 +0100
Subject: [PATCH] Start nginx service and open tiny

---
 Dockerfile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index d1ba758..5700b66 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", "--"]
-- 
GitLab