Omarelrayes commited on
Commit
a49b59f
·
verified ·
1 Parent(s): e3aa33f

Create Dockerfile

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