rajeshchoudharyt
commited on
Commit
•
60f9bad
1
Parent(s):
4a77268
update requirements.txt
Browse files- Dockerfile +1 -1
- requirements.txt +0 -1
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ COPY . .
|
|
7 |
WORKDIR /
|
8 |
|
9 |
# Install requirements.txt
|
10 |
-
RUN pip install
|
11 |
|
12 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
7 |
WORKDIR /
|
8 |
|
9 |
# Install requirements.txt
|
10 |
+
RUN pip install -r /requirements.txt
|
11 |
|
12 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
python==3.10.13
|
2 |
fastapi==0.108.0
|
3 |
uvicorn
|
4 |
pydantic
|
|
|
|
|
1 |
fastapi==0.108.0
|
2 |
uvicorn
|
3 |
pydantic
|