DiscordBots/channelBot/Dockerfile

17 lines
358 B
Docker
Raw Permalink Normal View History

2025-04-22 10:14:22 +00:00
FROM debian:bullseye
WORKDIR /usr/src/app
RUN apt-get update
RUN apt-get install -y python3-full
RUN apt-get install -y python3-pip
RUN apt-get install -y python-is-python3
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
ADD requirements.txt ./
RUN python3 -m pip install --no-cache-dir -r requirements.txt
ADD main.py ./
CMD [ "python", "./main.py" ]