Spaces:
Running
on
L4
Running
on
L4
package changes
Browse files- 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 |
-
|
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"]
|