Spaces:
Paused
Paused
Download Dockerfile from stack86/gpt-academic: direct link, hf CLI and curl.
- Browser
- Download file 326 Bytes
-
https://huggingface.co/spaces/stack86/gpt-academic/resolve/faaa3bb1b6ca31855880e3e25fbb9dab90d6dec4/Dockerfile
- Command line
-
hf download hf://spaces/stack86/gpt-academic@faaa3bb1b6ca31855880e3e25fbb9dab90d6dec4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stack86/gpt-academic/resolve/faaa3bb1b6ca31855880e3e25fbb9dab90d6dec4/Dockerfile
326 Bytes
| FROM python:3.11 | |
| RUN echo '[global]' > /etc/pip.conf && \ | |
| echo 'index-url = https://mirrors.aliyun.com/pypi/simple/' >> /etc/pip.conf && \ | |
| echo 'trusted-host = mirrors.aliyun.com' >> /etc/pip.conf | |
| WORKDIR /gpt | |
| COPY requirements.txt . | |
| RUN pip3 install -r requirements.txt | |
| COPY . . | |
| CMD ["python3", "-u", "main.py"] | |