Download Dockerfile from Tochile/offensive: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/Tochile/offensive/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Tochile/offensive/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Tochile/offensive/resolve/main/Dockerfile
351 Bytes
| FROM python:3.9 | |
| # Set working directory inside the container | |
| WORKDIR /code | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the app | |
| COPY . . | |
| # Expose Hugging Face default port | |
| EXPOSE 7860 | |
| # Start the Flask app with Gunicorn | |
| CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860"] | |