Commit
·
a88029f
1
Parent(s):
9e988d1
added packages
Browse files- Dockerfile +19 -1
- requirements.txt +3 -1
Dockerfile
CHANGED
@@ -23,6 +23,24 @@ COPY --chown=user . $HOME/app
|
|
23 |
# Install any needed packages specified in requirements.txt
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Create the .streamlit directory
|
27 |
RUN mkdir -p .streamlit
|
28 |
|
@@ -36,4 +54,4 @@ maxMessageSize = 2000\n\
|
|
36 |
EXPOSE 8501
|
37 |
|
38 |
# Run filter_data_app.py when the container launches
|
39 |
-
CMD streamlit run
|
|
|
23 |
# Install any needed packages specified in requirements.txt
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
|
26 |
+
RUN apt-get install unzip &&\
|
27 |
+
apt-get install wget
|
28 |
+
|
29 |
+
RUN wget https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip &&\
|
30 |
+
unzip dcm2niix_lnx.zip &&\
|
31 |
+
cp dcm2niix /usr/local/bin
|
32 |
+
|
33 |
+
RUN wget -O scaling_factors.csv https://github.com/deepakri201/DICOMScanClassification/releases/download/v1.0.0/scaling_factors.csv
|
34 |
+
|
35 |
+
RUN wget -O metadata_only_model.zip https://github.com/deepakri201/DICOMScanClassification/releases/download/v1.0.0/metadata_only_model.zip
|
36 |
+
RUN wget -O images_only_model.zip https://github.com/deepakri201/DICOMScanClassification/releases/download/v1.0.0/images_only_model.zip
|
37 |
+
RUN wget -O images_and_metadata_model.zip https://github.com/deepakri201/DICOMScanClassification/releases/download/v1.0.0/images_and_metadata_model.zip
|
38 |
+
|
39 |
+
|
40 |
+
RUN unzip "metadata_only_model.zip" -d "metadata_only_model/"
|
41 |
+
RUN unzip "images_only_model.zip" -d "images_only_model/"
|
42 |
+
RUN unzip "images_and_metadata_model.zip" -d "images_and_metadata_model/"
|
43 |
+
|
44 |
# Create the .streamlit directory
|
45 |
RUN mkdir -p .streamlit
|
46 |
|
|
|
54 |
EXPOSE 8501
|
55 |
|
56 |
# Run filter_data_app.py when the container launches
|
57 |
+
CMD streamlit run app.py
|
requirements.txt
CHANGED
@@ -4,4 +4,6 @@ pyarrow
|
|
4 |
duckdb
|
5 |
pandas
|
6 |
streamlit
|
7 |
-
idc-index
|
|
|
|
|
|
4 |
duckdb
|
5 |
pandas
|
6 |
streamlit
|
7 |
+
idc-index
|
8 |
+
SimpleITK
|
9 |
+
tensorflow
|