Spaces:
Sleeping
Sleeping
Avinash commited on
Commit ·
7dac948
1
Parent(s): e44faac
fix: include requirements.txt for docker build
Browse files- Dockerfile +1 -1
- requirements.txt +2 -0
Dockerfile
CHANGED
|
@@ -7,4 +7,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
EXPOSE 7860
|
| 10 |
-
CMD ["
|
|
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
EXPOSE 7860
|
| 10 |
+
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fastapi
|
| 2 |
+
uvicorn[standard]
|