Spaces:
Runtime error
Runtime error
Download Dockerfile from prathameshks/Multi-File-Chatting-DJ: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/prathameshks/Multi-File-Chatting-DJ/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/prathameshks/Multi-File-Chatting-DJ/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/prathameshks/Multi-File-Chatting-DJ/resolve/main/Dockerfile
459 Bytes
| # base image | |
| FROM python:3.9 | |
| # user creation | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| # set working directory | |
| WORKDIR /app | |
| # install requirements | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # copy project | |
| COPY --chown=user . /app | |
| # expose port | |
| EXPOSE 7860 | |
| # run server | |
| CMD ["gunicorn","MultiFileChatting.wsgi:application","--bind","0.0.0.0:7860"] |