Spaces:
Sleeping
Sleeping
Download Dockerfile from mugunthjhs/AI_Task_Manager: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/spaces/mugunthjhs/AI_Task_Manager/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mugunthjhs/AI_Task_Manager/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mugunthjhs/AI_Task_Manager/resolve/main/Dockerfile
464 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV STREAMLIT_SERVER_PORT=8501 \ | |
| STREAMLIT_SERVER_HEADLESS=true \ | |
| STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false \ | |
| STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| COPY requirements.txt ./requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |