Spaces:
Sleeping
Sleeping
Download Dockerfile from master-frog/doc: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/spaces/master-frog/doc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/master-frog/doc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/master-frog/doc/resolve/main/Dockerfile
354 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.7 | |
| WORKDIR /code | |
| COPY . /code | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| # Run app.py when the container launches | |
| CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"] |