luguog commited on
Commit
c967a76
·
verified ·
1 Parent(s): 7b54172

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +6 -0
dockerfile ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ COPY requirements.txt .
4
+ RUN pip install --upgrade pip && pip install -r requirements.txt
5
+ COPY . .
6
+ CMD ["uvicorn", "main:app", "--host=0.0.0.0", "--port=7860"]