Skip to content

Commit 1f70b61

Browse files
author
Dennis Labordus
authored
Merge pull request #199 from com-pas/switch_container_image
Switch to Bitnami container image
2 parents 523ebde + 7a9e9a1 commit 1f70b61

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ It's also possible to run CoMPAS OpenSCD as a docker. Of every release a docker
5252
Hub. To run the docker container use the following command.
5353

5454
```
55-
docker run -it --rm -d -p 8080:80 --name compas-open-scd lfenergy/compas-open-scd:latest
55+
docker run -it --rm -d -p 8080:8080 --name compas-open-scd lfenergy/compas-open-scd:latest
5656
```
5757

5858
Now open a browser and go to "http://localhost:8080". CoMPAS OpenSCD is shown.

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM nginx:latest
2-
COPY build/. /usr/share/nginx/html/
1+
FROM bitnami/nginx:1.23.1
2+
COPY build/. /app/
33

4-
VOLUME /etc/nginx/conf.d
5-
VOLUME /usr/share/nginx/html/public/cim
6-
VOLUME /usr/share/nginx/html/public/conf
4+
VOLUME /opt/bitnami/nginx/conf/server_blocks/
5+
VOLUME /app/public/cim
6+
VOLUME /app/public/conf

0 commit comments

Comments
 (0)