Lamp Socrates commited on
Commit
49bef8f
·
1 Parent(s): 6232477

moved Docker

Browse files
Files changed (1) hide show
  1. fastapi/Dockerfile → Dockerfile +3 -3
fastapi/Dockerfile → Dockerfile RENAMED
@@ -1,8 +1,8 @@
1
- FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8
2
 
3
- COPY requirements.txt /app/requirements.txt
4
  RUN pip install --no-cache-dir -r /app/requirements.txt
5
 
6
- COPY app.py /app/app.py
7
 
8
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
2
 
3
+ COPY fastapi/requirements.txt /app/requirements.txt
4
  RUN pip install --no-cache-dir -r /app/requirements.txt
5
 
6
+ COPY fastapi/app.py /app/app.py
7
 
8
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]