KoonJamesZ commited on
Commit
7f0d673
·
verified ·
1 Parent(s): 2d80d0d

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11.2
2
+
3
+ WORKDIR /workspace
4
+
5
+ COPY requirements.txt .
6
+
7
+ RUN pip install --no-cache-dir torch==2.4.1
8
+
9
+ RUN pip3 install -r requirements.txt
10
+
11
+ COPY . .
12
+
13
+ EXPOSE 7860
14
+
15
+ ENTRYPOINT [ "python3", "app.py" ]