Add gemmi for Meeko; fix numpy conflict with PyMOL
Browse files- Dockerfile +8 -10
Dockerfile
CHANGED
|
@@ -31,26 +31,24 @@ RUN conda config --add channels bioconda && \
|
|
| 31 |
# Install mamba for faster package installation
|
| 32 |
RUN conda install -n base -c conda-forge mamba -y
|
| 33 |
|
| 34 |
-
# Install AMBER tools, PyMOL, AutoDock Vina, Open Babel, and
|
| 35 |
RUN mamba install -y python=3.11 \
|
| 36 |
conda-forge::ambertools conda-forge::pymol-open-source \
|
| 37 |
-
conda-forge::vina conda-forge::openbabel conda-forge::rdkit
|
| 38 |
|
| 39 |
# Clean up conda/mamba cache to reduce image size
|
| 40 |
RUN conda clean -afy
|
| 41 |
|
| 42 |
-
# Install Python packages via pip (
|
|
|
|
| 43 |
RUN pip install --no-cache-dir \
|
| 44 |
flask==2.3.3 \
|
| 45 |
flask-cors==4.0.0 \
|
| 46 |
-
biopython
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
matplotlib==3.7.2 \
|
| 50 |
-
seaborn==0.12.2 \
|
| 51 |
-
mdanalysis==2.5.0 \
|
| 52 |
gunicorn==21.2.0 \
|
| 53 |
-
requests
|
| 54 |
meeko>=0.7.0
|
| 55 |
|
| 56 |
# Set working directory
|
|
|
|
| 31 |
# Install mamba for faster package installation
|
| 32 |
RUN conda install -n base -c conda-forge mamba -y
|
| 33 |
|
| 34 |
+
# Install AMBER tools, PyMOL, AutoDock Vina, Open Babel, RDKit, and gemmi (for Meeko)
|
| 35 |
RUN mamba install -y python=3.11 \
|
| 36 |
conda-forge::ambertools conda-forge::pymol-open-source \
|
| 37 |
+
conda-forge::vina conda-forge::openbabel conda-forge::rdkit conda-forge::gemmi
|
| 38 |
|
| 39 |
# Clean up conda/mamba cache to reduce image size
|
| 40 |
RUN conda clean -afy
|
| 41 |
|
| 42 |
+
# Install Python packages via pip (only packages not provided by conda or that need pip)
|
| 43 |
+
# Note: numpy, pandas, matplotlib are already installed by conda; don't override to avoid conflicts
|
| 44 |
RUN pip install --no-cache-dir \
|
| 45 |
flask==2.3.3 \
|
| 46 |
flask-cors==4.0.0 \
|
| 47 |
+
biopython \
|
| 48 |
+
seaborn \
|
| 49 |
+
mdanalysis \
|
|
|
|
|
|
|
|
|
|
| 50 |
gunicorn==21.2.0 \
|
| 51 |
+
requests \
|
| 52 |
meeko>=0.7.0
|
| 53 |
|
| 54 |
# Set working directory
|