hemantn commited on
Commit
1c33579
·
1 Parent(s): e5b2f14

timeout command removed from docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -4
Dockerfile CHANGED
@@ -31,9 +31,15 @@ RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkg
31
  conda config --add channels bioconda && \
32
  conda config --set channel_priority flexible
33
 
34
- # Install AMBER tools and PyMOL with proper conda syntax
35
- RUN conda install conda-forge::ambertools -y --timeout 300 && \
36
- conda install conda-forge::pymol-open-source -y --timeout 300
 
 
 
 
 
 
37
 
38
  # Install Python packages via pip
39
  RUN pip install --no-cache-dir \
@@ -63,4 +69,4 @@ ENV PYTHONPATH="${PYTHONPATH}:/AmberFlow/python"
63
  EXPOSE 7860
64
 
65
  # Run the application
66
- CMD ["python", "start_web_server.py"]
 
31
  conda config --add channels bioconda && \
32
  conda config --set channel_priority flexible
33
 
34
+ # Install mamba for faster package installation
35
+ RUN conda install -n base -c conda-forge mamba -y
36
+
37
+ # Install AMBER tools and PyMOL using mamba (much faster than conda)
38
+ RUN mamba install conda-forge::ambertools -y && \
39
+ mamba install conda-forge::pymol-open-source -y
40
+
41
+ # Clean up conda/mamba cache to reduce image size
42
+ RUN conda clean -afy
43
 
44
  # Install Python packages via pip
45
  RUN pip install --no-cache-dir \
 
69
  EXPOSE 7860
70
 
71
  # Run the application
72
+ CMD ["python", "start_web_server.py"]