From d96372b08a3c6df12046ea0f811b9cc448118885 Mon Sep 17 00:00:00 2001 From: bradmurray Date: Tue, 27 Dec 2022 02:07:31 +0000 Subject: [PATCH] Adding port expose to dockerfile If you want to use a dockerized nginx the dockerfile has to have an expose command or no ports get exposed. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6673b9f..b571ca1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,6 @@ COPY config.js.template ./config.js RUN find ./static/ -type d -exec chmod -R 777 {} \; +EXPOSE 8080 + CMD npm start