Spaces:
Sleeping
Sleeping
Download Dockerfile from PrernaKu/ChatBotDocker: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/PrernaKu/ChatBotDocker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PrernaKu/ChatBotDocker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PrernaKu/ChatBotDocker/resolve/main/Dockerfile
282 Bytes
| FROM python:3.11-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| # Change this line to use gunicorn: | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "--timeout", "120", "app:app"] |