eaedk commited on
Commit
ac418dc
1 Parent(s): fefe7d5

dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+
6
+ COPY requirements.txt ./
7
+
8
+ RUN pip install -r requirements.txt
9
+
10
+ # COPY main.py ./
11
+ # COPY assets/ ./
12
+
13
+
14
+ EXPOSE 7860
15
+
16
+ # CMD [ "python", "app.py" ]
17
+
18
+ COPY . .
19
+
20
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]