From 2207b59529821fdfecc45f3fcfc877d1455866aa Mon Sep 17 00:00:00 2001 From: Dennis Labordus Date: Thu, 6 Oct 2022 09:05:39 +0200 Subject: [PATCH 1/2] Switched to Bitnami container image Signed-off-by: Dennis Labordus --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72900645f4..bdd4e4e6f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM nginx:latest -COPY build/. /usr/share/nginx/html/ +FROM bitnami/nginx:1.23.1 +COPY build/. /app/ -VOLUME /etc/nginx/conf.d -VOLUME /usr/share/nginx/html/public/cim -VOLUME /usr/share/nginx/html/public/conf +VOLUME /opt/bitnami/nginx/conf/server_blocks/ +VOLUME /app/public/cim +VOLUME /app/public/conf From 7a9e9a1d1854a45d5ef500ac0f4c14dfe1f1a42d Mon Sep 17 00:00:00 2001 From: Dennis Labordus Date: Thu, 6 Oct 2022 09:10:38 +0200 Subject: [PATCH 2/2] Updated document Signed-off-by: Dennis Labordus --- DEVELOPMENT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index cbc5f9e034..65a772c92f 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -52,7 +52,7 @@ It's also possible to run CoMPAS OpenSCD as a docker. Of every release a docker Hub. To run the docker container use the following command. ``` -docker run -it --rm -d -p 8080:80 --name compas-open-scd lfenergy/compas-open-scd:latest +docker run -it --rm -d -p 8080:8080 --name compas-open-scd lfenergy/compas-open-scd:latest ``` Now open a browser and go to "http://localhost:8080". CoMPAS OpenSCD is shown.