diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index cbc5f9e03..65a772c92 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. diff --git a/Dockerfile b/Dockerfile index 72900645f..bdd4e4e6f 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