summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorKristofer Hallin <kristofer@sunet.se>2022-02-04 10:15:36 +0100
committerKristofer Hallin <kristofer@sunet.se>2022-02-04 10:15:36 +0100
commitd79f5eadcce336d7a4e4867d306c386af7e9f108 (patch)
tree21e5d6104313b2a21706f6b5f0167dc7467c7f1e /Dockerfile
parentae948d12387a3c68966c6eed8ebb386127bce1d4 (diff)
Use SSL for Nginx.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ad28be8..77549a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,11 +20,13 @@ WORKDIR /usr/share/nginx/html
COPY --from=build /usr/src/app/dist ./
+COPY certs/* /etc/ssl/dashboard/
+COPY nginx-default.conf /etc/nginx/conf.d/
COPY nginx-entrypoint.sh .
COPY inject_template.js .
RUN apt update
RUN apt install -y gettext
-EXPOSE 80
+EXPOSE 443
ENTRYPOINT ["sh", "./nginx-entrypoint.sh"] \ No newline at end of file