Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -16,7 +16,7 @@ WORKDIR /usr/src/app/DFMDock
|
|
16 |
RUN conda env create -f environment.yml
|
17 |
|
18 |
# Activate the Conda environment
|
19 |
-
SHELL ["conda", "run", "-n", "
|
20 |
|
21 |
# Install the package in editable mode
|
22 |
RUN pip install -e .
|
@@ -27,7 +27,7 @@ RUN pip3 install torch torchvision torchaudio
|
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
28 |
|
29 |
# Activate the environment by default when starting the container
|
30 |
-
CMD ["conda", "run", "-n", "
|
31 |
|
32 |
#if you need to download executable and run them switch to the default non-root user
|
33 |
USER user
|
|
|
16 |
RUN conda env create -f environment.yml
|
17 |
|
18 |
# Activate the Conda environment
|
19 |
+
SHELL ["conda", "run", "-n", "DFMDock", "/bin/bash", "-c"]
|
20 |
|
21 |
# Install the package in editable mode
|
22 |
RUN pip install -e .
|
|
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
28 |
|
29 |
# Activate the environment by default when starting the container
|
30 |
+
CMD ["conda", "run", "-n", "DFMDock", "bash"]
|
31 |
|
32 |
#if you need to download executable and run them switch to the default non-root user
|
33 |
USER user
|