Spaces:
Build error
Build error
Download Dockerfile from SoulofSukuna/BanBot: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/SoulofSukuna/BanBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SoulofSukuna/BanBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SoulofSukuna/BanBot/resolve/main/Dockerfile
409 Bytes
| FROM python:3.9.5-buster | |
| RUN ln -sf /usr/share/zoneinfo/Australia/Perth /etc/localtime | |
| RUN apt-get update | |
| COPY ./reqs.txt /banObot/reqs.txt | |
| RUN pip3 install --no-cache-dir -U -r /banObot/reqs.txt | |
| WORKDIR /banObot | |
| RUN pip3 install -U pip | |
| COPY . . | |
| RUN chown -R 1000:0 . | |
| RUN chmod 777 . | |
| RUN chown -R 1000:0 /usr | |
| RUN chmod 777 /usr | |
| EXPOSE 7860 | |
| CMD ["bash", "-c", "python3 server.py & python3 code.py"] | |