Download Dockerfile from Nausad/Portfolio: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/Nausad/Portfolio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Nausad/Portfolio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Nausad/Portfolio/resolve/main/Dockerfile
306 Bytes
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all portfolio files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 7860 (required by Hugging Face Spaces) | |
| EXPOSE 7860 | |
| # Run Flask to serve the static portfolio | |
| CMD ["python", "app.py"] | |