Lamp Socrates
commited on
Commit
·
a45b957
1
Parent(s):
49bef8f
moved
Browse files- Dockerfile +2 -2
- fastapi/app.py → app.py +0 -0
- fastapi/requirements.txt → requirements.txt +0 -0
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
|
2 |
|
3 |
-
COPY
|
4 |
RUN pip install --no-cache-dir -r /app/requirements.txt
|
5 |
|
6 |
-
COPY
|
7 |
|
8 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
|
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"]
|
fastapi/app.py → app.py
RENAMED
File without changes
|
fastapi/requirements.txt → requirements.txt
RENAMED
File without changes
|