Skip to content

Commit

Permalink
Merge pull request #199 from com-pas/switch_container_image
Browse files Browse the repository at this point in the history
Switch to Bitnami container image
  • Loading branch information
Dennis Labordus committed Oct 6, 2022
2 parents 523ebde + 7a9e9a1 commit 1f70b61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1f70b61

Please sign in to comment.