Spaces:
Sleeping
Sleeping
Download Dockerfile from robinroy03/github-bot: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/robinroy03/github-bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/robinroy03/github-bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/robinroy03/github-bot/resolve/main/Dockerfile
325 Bytes
| FROM python:3 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| COPY --chown=user . $HOME/github_bot | |
| WORKDIR $HOME/github_bot | |
| RUN mkdir $HOME/.cache | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| CMD ["gunicorn", "-w", "5", "-b", "0.0.0.0:7860","server:app"] |