Download Dockerfile from aibergman/FourJ: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/aibergman/FourJ/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aibergman/FourJ/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aibergman/FourJ/resolve/main/Dockerfile
341 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| HOST=0.0.0.0 \ | |
| PORT=7860 | |
| WORKDIR /app | |
| COPY pyproject.toml README.md MANIFEST.in ./ | |
| COPY src ./src | |
| COPY app.py ./app.py | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir .[dashboard] | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |