Download Dockerfile from lhybosco/chatapi: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/lhybosco/chatapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lhybosco/chatapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lhybosco/chatapi/resolve/main/Dockerfile
282 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://github.com/lanqian528/chat2api.git /app | |
| WORKDIR /app | |
| RUN mkdir /app/data && chmod -R 777 /app/data | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 5005 | |
| CMD ["python", "app.py"] |