Download Dockerfile from AIMaster7/HFLLMAPI2: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/AIMaster7/HFLLMAPI2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AIMaster7/HFLLMAPI2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AIMaster7/HFLLMAPI2/resolve/main/Dockerfile
214 Bytes
| FROM python:3.11-slim | |
| WORKDIR $HOME/app | |
| COPY requirements.txt $HOME/app | |
| RUN mkdir /.cache && chmod 777 /.cache | |
| RUN pip install -r requirements.txt | |
| COPY . $HOME/app | |
| EXPOSE 23333 | |
| CMD ["python", "-m", "apis.chat_api"] |