Spaces:
Paused
Paused
Download Dockerfile from leonsimon23/bing-chat-api: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/leonsimon23/bing-chat-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/leonsimon23/bing-chat-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/leonsimon23/bing-chat-api/resolve/main/Dockerfile
288 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user | |
| ENV PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY --chown=user . $HOME/app | |
| VOLUME /data | |
| EXPOSE 22222 | |
| CMD ["python", "-m", "apis.chat_api"] |