Spaces:
Sleeping
Sleeping
Download Dockerfile from Harshalll007/App: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/Harshalll007/App/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Harshalll007/App/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Harshalll007/App/resolve/main/Dockerfile
323 Bytes
| FROM python:3.12-slim | |
| # Set directory | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . . | |
| #permissions | |
| RUN chmod -R 777 /app | |
| # HF port | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860", "--timeout", "120"] |