Spaces:
Runtime error
Runtime error
Download Dockerfile from pathii/css_design_snippets: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/spaces/pathii/css_design_snippets/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pathii/css_design_snippets/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pathii/css_design_snippets/resolve/main/Dockerfile
316 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Create writable cache directory | |
| RUN mkdir -p /app/.cache/huggingface && chmod -R 777 /app/.cache | |
| # Set huggingface cache directory | |
| ENV HF_HOME=/app/.cache/huggingface | |
| CMD ["python", "train.py"] | |