Spaces:
Running
Running
Merge pull request #9 from andreped/docker
Browse files
README.md
CHANGED
@@ -47,12 +47,16 @@ The web app is also deployed on [my personal website](https://andreped.github.io
|
|
47 |
|
48 |
```
|
49 |
git clone https://github.com/andreped/ohif4hf.git
|
50 |
-
docker build
|
51 |
-
docker run ohif4hf
|
52 |
```
|
53 |
|
|
|
|
|
54 |
To go inside docker image and debug, at the bottom of the Dockerfile, add `ENTRYPOINT [ "/bin/sh" ]` before running.
|
55 |
|
|
|
|
|
56 |
## 👏 [Acknowledgements](https://github.com/andreped/ohif4hf#acknowledgements)
|
57 |
|
58 |
I did not develop OHIF, only implemented some plugins and showcased deployment on Hugging Face space.
|
|
|
47 |
|
48 |
```
|
49 |
git clone https://github.com/andreped/ohif4hf.git
|
50 |
+
docker build -t ohif4hf:latest .
|
51 |
+
docker run -ti -p 7860:7860 ohif4hf:latest
|
52 |
```
|
53 |
|
54 |
+
Then in your favourite browser, go to `http://localhost:7860`
|
55 |
+
|
56 |
To go inside docker image and debug, at the bottom of the Dockerfile, add `ENTRYPOINT [ "/bin/sh" ]` before running.
|
57 |
|
58 |
+
For development, it might also be useful to build the docker image using `--no-cache`.
|
59 |
+
|
60 |
## 👏 [Acknowledgements](https://github.com/andreped/ohif4hf#acknowledgements)
|
61 |
|
62 |
I did not develop OHIF, only implemented some plugins and showcased deployment on Hugging Face space.
|