adding docker-compose readme and fixing docker-compose context

This commit is contained in:
biharck 2019-04-24 09:16:08 -03:00
parent af9ee3664f
commit 06e754834f
2 changed files with 17 additions and 2 deletions

13
docker/README.md Normal file
View File

@ -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]

View File

@ -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: