Spaces:
Sleeping
Sleeping
Download Dockerfile from Jo-Mathew/admin-feedback-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/Jo-Mathew/admin-feedback-dashboard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Jo-Mathew/admin-feedback-dashboard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Jo-Mathew/admin-feedback-dashboard/resolve/main/Dockerfile
428 Bytes
| # Use official Python image | |
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files in the folder into the container | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose default HuggingFace port | |
| EXPOSE 7860 | |
| # Run Streamlit app | |
| CMD ["streamlit", "run", "app_admin.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"] | |