Spaces:
Runtime error
Runtime error
Download Dockerfile from informatica92/bgg-comment-summarizer-docker: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/spaces/informatica92/bgg-comment-summarizer-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/informatica92/bgg-comment-summarizer-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/informatica92/bgg-comment-summarizer-docker/resolve/main/Dockerfile
514 Bytes
| # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM python:3.9 | |
| COPY ./requirements.txt /requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /requirements.txt | |
| COPY . . | |
| RUN chmod 777 --recursive /usr/local/lib/python3.9/site-packages/mercury/ | |
| RUN chmod 777 --recursive /usr/local/lib/python3.9/logging/ | |
| RUN touch /django-errors.log | |
| RUN chmod 777 /django-errors.log | |
| CMD ["mercury", "run", "--verbose", "0.0.0.0:7860"] |