Download Dockerfile from triflix/coolone: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/triflix/coolone/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/triflix/coolone/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/triflix/coolone/resolve/main/Dockerfile
318 Bytes
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy everything to /app | |
| COPY . /app | |
| # Install required packages | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Make sure /data exists | |
| RUN mkdir -p /data | |
| # Expose the port your Flask app runs on | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |