lchu11 commited on
Commit
29147f3
·
verified ·
1 Parent(s): 3cdc27b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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", "env_name", "/bin/bash", "-c"]
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", "env_name", "bash"]
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