adding docker-compose readme and fixing docker-compose context

This commit is contained in:
biharck committed 2019-04-24 09:16:08 -03:00
1 parent af9ee3664f
commit 06e754834f
2 files changed
+17 -2

No files matched your search

+13
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]
+4 -2
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: