Lamp Socrates
commited on
Commit
·
49bef8f
1
Parent(s):
6232477
moved Docker
Browse files
fastapi/Dockerfile → Dockerfile
RENAMED
@@ -1,8 +1,8 @@
|
|
1 |
-
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.
|
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"]
|