MumbleConciergeBot/Dockerfile

12 lines
331 B
Docker

FROM python:3.11-slim-bullseye AS python-builder
ENV DEBIAN_FRONTEND=noninteractive
COPY . /MumbleConciergeBot
WORKDIR /MumbleConciergeBot
RUN python3 -m venv venv \
&& venv/bin/pip install wheel \
&& venv/bin/pip install -r requirements.txt
ENTRYPOINT ["tail", "-f", "/dev/null"]
CMD ["venv/bin/python", "src/start.py"]