From 1a3f0176a8f1b51286195b36fc48282766b1f6e4 Mon Sep 17 00:00:00 2001 From: Axel Pavageau Date: Fri, 23 Nov 2018 10:11:28 +0100 Subject: [PATCH] adding listener port --- Dockerfile | 2 +- default.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f8f5526..88043bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,4 @@ COPY index.html /usr/share/nginx/html/ COPY content.json /usr/share/nginx/html/ RUN /usr/sbin/nginx -t CMD nginx -g 'daemon off;' -EXPOSE 80 +EXPOSE 80 8080 diff --git a/default.conf b/default.conf index 791b647..2785c83 100644 --- a/default.conf +++ b/default.conf @@ -1,5 +1,6 @@ server { listen 80; + listen 8080; root /usr/share/nginx/html/; location / {