dragonxd1 commited on
Commit
e9ee9c9
·
verified ·
1 Parent(s): 4d201fc

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install -y git
4
+
5
+ WORKDIR /app
6
+
7
+ COPY requirements.txt .
8
+
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+ RUN pip install fastapi uvicorn
11
+
12
+ COPY app.py .
13
+
14
+ EXPOSE 7860
15
+
16
+ CMD ["python", "app.py"]