diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 000000000..01044f4b4 --- /dev/null +++ b/docker/README.md @@ -0,0 +1,13 @@ +# Docker compose files + +This folder contains docker-compose files used to spin up OHIF-Viewer with differnt options such as locally or with any PAS you desire to + +## Public Server +#### build + +`$ docker-compose -f docker-compose-publicserver.yml build` + +#### run +`$ docker-compose -f docker-compose-publicserver.yml up -d` + +then, access the application at (http://localhost)[http://localhost] \ No newline at end of file diff --git a/docker/docker-compose-publicserver.yml b/docker/docker-compose-publicserver.yml index d34e6b5ca..1a5348fdc 100644 --- a/docker/docker-compose-publicserver.yml +++ b/docker/docker-compose-publicserver.yml @@ -2,9 +2,11 @@ version: '3.5' services: - Viewer: + viewer: container_name: ohif-viewer - image: ohif/viewer:latest + build: + context: ../ + dockerfile: Dockerfile ports: - '80:80' environment: