Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM continuumio/miniconda3
|
2 |
+
|
3 |
+
COPY . .
|
4 |
+
|
5 |
+
RUN conda env create -f environment.yml
|
6 |
+
|
7 |
+
SHELL ["conda", "run", "--no-capture-output", "-n", "torch_env", "/bin/bash", "-c"]
|
8 |
+
|
9 |
+
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "torch_env", "python", "app.py"]
|