Download Dockerfile from Elalimy/test: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/Elalimy/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Elalimy/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Elalimy/test/resolve/main/Dockerfile
283 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["gunicorn","-b", "0.0.0.0:7860","app:app"] | |
| RUN mkdir -p /.cache/huggingface/hub \ | |
| && chmod -R 777 /.cache/huggingface |