Spaces:
Runtime error
Runtime error
Download Dockerfile from RohanHBTU/ChattyAI_prototype: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/RohanHBTU/ChattyAI_prototype/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/RohanHBTU/ChattyAI_prototype/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/RohanHBTU/ChattyAI_prototype/resolve/main/Dockerfile
301 Bytes
| FROM python:3.9 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| RUN mkdir /code/cache | |
| RUN chown user:user -R /code/cache | |
| CMD gunicorn --timeout 150 -w 4 -b 0.0.0.0:7860 app:app |