Spaces:
Sleeping
Sleeping
Download Dockerfile from NekoFengFeng/NekoStickers: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/NekoFengFeng/NekoStickers/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/NekoFengFeng/NekoStickers/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/NekoFengFeng/NekoStickers/resolve/main/Dockerfile
330 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| # RUN apt-get update && apt-get install -y gcc python3-dev | |
| RUN pip install -r requirements.txt | |
| # RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| COPY ./sticker.db /tmp/sticker.db | |
| RUN chmod -R 777 /app | |
| ENV HF_HOME=/tmp/.cache | |
| CMD python main.py | |
| EXPOSE 7860 | |