Spaces:
Runtime error
Runtime error
Download Dockerfile from CineDev/snapskin-backend: direct link, hf CLI and curl.
- Browser
- Download file 309 Bytes
-
https://huggingface.co/spaces/CineDev/snapskin-backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CineDev/snapskin-backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CineDev/snapskin-backend/resolve/main/Dockerfile
309 Bytes
| # Use official Python slim image | |
| FROM python:3.9-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . . | |
| # Expose port 5000 (Flask default) | |
| EXPOSE 5000 | |
| # Run the start script | |
| CMD ["./start.sh"] | |