bshor commited on
Commit
4e8d3ba
1 Parent(s): 56e3a76

package changes

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -16,7 +16,7 @@ COPY . .
16
  # Create Conda environment from env.yaml
17
  RUN conda env create -f env.yml
18
  # SHELL ["conda", "run", "-n", "dockformer-venv", "/bin/bash", "-c"]
19
- SHELL ["conda", "activate", "dockformer-venv"]
20
 
21
 
22
  #if you need to download executable and run them switch to the default non-root user
@@ -26,4 +26,5 @@ USER user
26
  EXPOSE 7860
27
  ENV GRADIO_SERVER_NAME="0.0.0.0"
28
 
29
- CMD ["python", "inference_app.py"]
 
 
16
  # Create Conda environment from env.yaml
17
  RUN conda env create -f env.yml
18
  # SHELL ["conda", "run", "-n", "dockformer-venv", "/bin/bash", "-c"]
19
+
20
 
21
 
22
  #if you need to download executable and run them switch to the default non-root user
 
26
  EXPOSE 7860
27
  ENV GRADIO_SERVER_NAME="0.0.0.0"
28
 
29
+ # CMD ["python", "inference_app.py"]
30
+ CMD ["conda", "run", "-n", "dockformer-venv", "python", "inference_app.py"]