Spaces:
Sleeping
Sleeping
Download Dockerfile from adAstra144/sqlite-test: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/spaces/adAstra144/sqlite-test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/adAstra144/sqlite-test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/adAstra144/sqlite-test/resolve/main/Dockerfile
249 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| # Set Hugging Face cache directory to a writable location | |
| ENV TRANSFORMERS_CACHE=/tmp/hf_cache | |
| ENV HF_HOME=/tmp/hf_cache | |
| CMD ["python", "app.py"] |