Spaces:
Sleeping
Sleeping
Ezhil
commited on
Commit
·
46f2366
1
Parent(s):
35b0731
changes:readme
Browse files- Dockerfile +2 -2
- README.md +1 -0
Dockerfile
CHANGED
|
@@ -14,9 +14,9 @@ COPY . .
|
|
| 14 |
RUN pip install -r requirements.txt
|
| 15 |
|
| 16 |
# Expose the ports for FastAPI (8000) and Streamlit (8501)
|
| 17 |
-
EXPOSE
|
| 18 |
|
| 19 |
# Run FastAPI and Streamlit in parallel
|
| 20 |
-
CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port
|
| 21 |
|
| 22 |
|
|
|
|
| 14 |
RUN pip install -r requirements.txt
|
| 15 |
|
| 16 |
# Expose the ports for FastAPI (8000) and Streamlit (8501)
|
| 17 |
+
EXPOSE 7860
|
| 18 |
|
| 19 |
# Run FastAPI and Streamlit in parallel
|
| 20 |
+
CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860"]
|
| 21 |
|
| 22 |
|
README.md
CHANGED
|
@@ -4,5 +4,6 @@ emoji: 👁
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: green
|
| 6 |
sdk: docker
|
| 7 |
+
app_file: Dockerfile
|
| 8 |
pinned: false
|
| 9 |
---
|