Spaces:
Running
Running
fuxialexander
commited on
Commit
·
695cbda
1
Parent(s):
c401019
update
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -23,11 +23,9 @@ USER root
|
|
23 |
RUN mkdir -p /app/matplotlib_cache && chown $MAMBA_USER:$MAMBA_USER /app/matplotlib_cache
|
24 |
# download https://zenodo.org/records/14615146/files/gcell_data.tar.gz?download=1 extract it and copy it to /app/.gcell_data
|
25 |
RUN wget https://zenodo.org/records/14615146/files/gcell_data.tar.gz?download=1 -O /app/gcell_data.tar.gz
|
26 |
-
RUN tar -xzvf
|
27 |
-
RUN rm /app/gcell_data.tar.gz
|
28 |
-
RUN chmod -R 777 /app/.gcell_data
|
29 |
-
RUN chmod -R 777 /app/matplotlib_cache
|
30 |
RUN chmod -R 777 /app/
|
|
|
31 |
USER $MAMBA_USER
|
32 |
# Command to run the Gradio app automatically
|
33 |
CMD ["/opt/conda/bin/python", "main.py"]
|
|
|
23 |
RUN mkdir -p /app/matplotlib_cache && chown $MAMBA_USER:$MAMBA_USER /app/matplotlib_cache
|
24 |
# download https://zenodo.org/records/14615146/files/gcell_data.tar.gz?download=1 extract it and copy it to /app/.gcell_data
|
25 |
RUN wget https://zenodo.org/records/14615146/files/gcell_data.tar.gz?download=1 -O /app/gcell_data.tar.gz
|
26 |
+
RUN tar -xzvf gcell_data.tar.gz && mv gcell_data/ .gcell_data && rm gcell_data.tar.gz && cd ..
|
|
|
|
|
|
|
27 |
RUN chmod -R 777 /app/
|
28 |
+
|
29 |
USER $MAMBA_USER
|
30 |
# Command to run the Gradio app automatically
|
31 |
CMD ["/opt/conda/bin/python", "main.py"]
|