Download Dockerfile from facking/GKChatGPT: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/facking/GKChatGPT/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/facking/GKChatGPT/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/facking/GKChatGPT/resolve/main/Dockerfile
420 Bytes
| FROM python:3.9 as builder | |
| RUN apt-get update && apt-get install -y build-essential | |
| COPY requirements.txt . | |
| RUN pip install --user -r requirements.txt | |
| FROM python:3.9 | |
| MAINTAINER iskoldt | |
| COPY --from=builder /root/.local /root/.local | |
| ENV PATH=/root/.local/bin:$PATH | |
| COPY . /app | |
| WORKDIR /app | |
| ENV my_api_key empty | |
| ENV dockerrun yes | |
| CMD ["python3", "-u", "ChuanhuChatbot.py", "2>&1", "|", "tee", "/var/log/application.log"] | |