feat: Deploy Streamlit interface instead of FastAPI API on Hugging Face
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -4,4 +4,4 @@ COPY ./requirement.txt /code/requirements.txt
|
|
| 4 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 5 |
COPY . .
|
| 6 |
# Hugging Face runs on port 7860 by default
|
| 7 |
-
CMD ["
|
|
|
|
| 4 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 5 |
COPY . .
|
| 6 |
# Hugging Face runs on port 7860 by default
|
| 7 |
+
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]
|