andreped commited on
Commit
f12cbf7
1 Parent(s): 883f80d

Moved resources/ dir next to app.py

Browse files
Files changed (3) hide show
  1. .dockerignore +2 -0
  2. .gitignore +2 -0
  3. Dockerfile +2 -2
.dockerignore CHANGED
@@ -4,3 +4,5 @@ venv/
4
  *.pyc
5
  *.egg-info
6
  *.csv
 
 
 
4
  *.pyc
5
  *.egg-info
6
  *.csv
7
+ *__pycache__/
8
+ *.DS_Store
.gitignore CHANGED
@@ -5,3 +5,5 @@ venv/
5
  *.egg-info
6
  *.csv
7
  *.ini
 
 
 
5
  *.egg-info
6
  *.csv
7
  *.ini
8
+ *__pycache__/
9
+ *.DS_Store
Dockerfile CHANGED
@@ -54,9 +54,9 @@ COPY --chown=user . $HOME/app
54
 
55
  # Download pretrained models
56
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-CT_Airways-ONNX-v12.zip" && \
57
- unzip "Raidionics-CT_Airways-ONNX-v12.zip" && mkdir -p resources/models/ && mv CT_Airways/ resources/models/CT_Airways/
58
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-CT_Lungs-ONNX-v12.zip" && \
59
- unzip "Raidionics-CT_Lungs-ONNX-v12.zip" && mv CT_Lungs/ resources/models/CT_Lungs/
60
 
61
  RUN rm -r *.zip
62
 
 
54
 
55
  # Download pretrained models
56
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-CT_Airways-ONNX-v12.zip" && \
57
+ unzip "Raidionics-CT_Airways-ONNX-v12.zip" && mkdir -p demo/resources/models/ && mv CT_Airways/ demo/resources/models/CT_Airways/
58
  RUN wget "https://github.com/raidionics/Raidionics-models/releases/download/1.2.0/Raidionics-CT_Lungs-ONNX-v12.zip" && \
59
+ unzip "Raidionics-CT_Lungs-ONNX-v12.zip" && mv CT_Lungs/ demo/resources/models/CT_Lungs/
60
 
61
  RUN rm -r *.zip
62