Spaces:
Paused
Paused
Download Dockerfile from stack86/gpt-academic: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/stack86/gpt-academic/resolve/f238a34bb082ee2cdd3ec73ce37223fc220fd077/Dockerfile
- Command line
-
hf download hf://spaces/stack86/gpt-academic@f238a34bb082ee2cdd3ec73ce37223fc220fd077/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stack86/gpt-academic/resolve/f238a34bb082ee2cdd3ec73ce37223fc220fd077/Dockerfile
419 Bytes
| FROM ubuntu:latest | |
| RUN apt-get update && \ | |
| apt-get install -y python3 python3-pip && \ | |
| rm -rf /var/lib/apt/lists/* | |
| 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 | |
| RUN pip3 install gradio requests[socks] mdtex2html | |
| COPY . /gpt | |
| WORKDIR /gpt | |
| CMD ["python3", "main.py"] |