bryanzhou008 commited on
Commit
1dab74f
·
verified ·
1 Parent(s): d679361

Create Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]