Download Dockerfile from ykl45/hfa: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/ykl45/hfa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ykl45/hfa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ykl45/hfa/resolve/main/Dockerfile
247 Bytes
| FROM python:3.11 | |
| RUN apt update | |
| RUN apt install git | |
| RUN git clone https://github.com/renqabs/hfa.git /app | |
| WORKDIR "/app" | |
| RUN mkdir /.cache && chmod 777 /.cache | |
| RUN pip install -r requirements.txt | |
| EXPOSE 23333 | |
| CMD ["python", "-m", "apis.chat_api"] |