Download Dockerfile from aaloksan/kernel: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/aaloksan/kernel/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aaloksan/kernel/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aaloksan/kernel/resolve/main/Dockerfile
257 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |