Updated docker setup for deployment
Browse files- README.md +1 -1
- app.py +2 -2
- requirements.txt +2 -4
README.md
CHANGED
@@ -21,7 +21,7 @@ The software will be made openly available on Hugging Face spaces very soon. Sta
|
|
21 |
For development of this software, follow these steps to build the docker image and run the app through it:
|
22 |
|
23 |
```
|
24 |
-
docker build -t neukit
|
25 |
docker run -it -p 7860:7860 neukit
|
26 |
```
|
27 |
|
|
|
21 |
For development of this software, follow these steps to build the docker image and run the app through it:
|
22 |
|
23 |
```
|
24 |
+
docker build -t neukit .
|
25 |
docker run -it -p 7860:7860 neukit
|
26 |
```
|
27 |
|
app.py
CHANGED
@@ -4,8 +4,8 @@ from neukit.gui import WebUI
|
|
4 |
def main():
|
5 |
print("Launching demo...")
|
6 |
|
7 |
-
cwd = "/Users/andreped/workspace/neukit/" # local testing -> macOS
|
8 |
-
|
9 |
|
10 |
# initialize and run app
|
11 |
app = WebUI(cwd=cwd)
|
|
|
4 |
def main():
|
5 |
print("Launching demo...")
|
6 |
|
7 |
+
# cwd = "/Users/andreped/workspace/neukit/" # local testing -> macOS
|
8 |
+
cwd = "/home/user/app/" # production -> docker
|
9 |
|
10 |
# initialize and run app
|
11 |
app = WebUI(cwd=cwd)
|
requirements.txt
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
|
2 |
-
raidionicsrads @ https://github.com/dbouget/raidionics_rads_lib/releases/download/v1.1.0/raidionicsrads-1.1.0-py3-none-macosx_10_15_x86_64.whl
|
3 |
-
#onnxruntime-gpu==1.12.1
|
4 |
-
#onnxruntime==1.12.1
|
5 |
gradio==3.32.0
|
|
|
1 |
+
raidionicsrads @ https://github.com/dbouget/raidionics_rads_lib/releases/download/v1.1.0/raidionicsrads-1.1.0-py3-none-manylinux1_x86_64.whl
|
2 |
+
#raidionicsrads @ https://github.com/dbouget/raidionics_rads_lib/releases/download/v1.1.0/raidionicsrads-1.1.0-py3-none-macosx_10_15_x86_64.whl
|
|
|
|
|
3 |
gradio==3.32.0
|