aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index df5a4f0..ae2f079 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,4 +10,14 @@ RUN pip install /app/app
RUN mkdir -p /opt/logs/
-ENV LISTEN_PORT 10000
+# create the dir for the ssl certs
+RUN mkdir -p /etc/nginx/ssl
+
+COPY nginxhttps.conf /etc/nginx/conf.d/nginxhttps.conf
+
+ENV LISTEN_PORT 10000
+EXPOSE 443
+EXPOSE 10000
+
+#this is a registrator flag that tells it to ignore 80 from service discovery. Nothing is listening on 80, but the parent Dockerfile here exposes it. This container is internally listening on 10000 and 443.
+ENV SERVICE_80_IGNORE true