college-bot-v2/Dockerfile
nexy7574 fb705abf7c Beta 1
* Screenshot (unpolished, functional)
* Dig
* Traceroute
* Whois
* Ping
* yt-dl
* Docker file
2024-01-02 22:59:47 +00:00

16 lines
532 B
Docker

FROM python:3.11-bookworm
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y traceroute iputils-ping dnsutils net-tools git chromium chromium-driver chromium-sandbox chromium-shell
RUN pip install --upgrade --break-system-packages pip wheel setuptools
COPY requirements.txt /tmp/requirements.txt
RUN pip install -Ur /tmp/requirements.txt --break-system-packages --no-input
WORKDIR /app
COPY main.py /app
COPY cookies.txt /app
COPY cogs/ /app/cogs/
CMD ["python", "main.py"]