Spaces:
Running
Running
Download Dockerfile from Frespa123/Interlink-bot: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/Frespa123/Interlink-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Frespa123/Interlink-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Frespa123/Interlink-bot/resolve/main/Dockerfile
292 Bytes
| FROM python:3.10-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD python3 -m http.server 7860 & echo '2' | python bot.py | |