fix
parent
e31bf6cf34
commit
89b2e17ec9
|
@ -2,9 +2,6 @@ FROM python:3.11-slim-bullseye AS python-builder
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
WORKDIR /MumbleConciergeBot
|
WORKDIR /MumbleConciergeBot
|
||||||
|
|
||||||
RUN apt-get update \
|
|
||||||
&& apt-get install --no-install-recommends -y gcc g++ ffmpeg libjpeg-dev libmagic-dev opus-tools zlib1g-dev \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
COPY . /MumbleConciergeBot
|
COPY . /MumbleConciergeBot
|
||||||
RUN python3 -m venv venv \
|
RUN python3 -m venv venv \
|
||||||
&& venv/bin/pip install wheel \
|
&& venv/bin/pip install wheel \
|
||||||
|
@ -12,11 +9,7 @@ RUN python3 -m venv venv \
|
||||||
|
|
||||||
FROM python:3.11-slim-bullseye
|
FROM python:3.11-slim-bullseye
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
EXPOSE 8181
|
|
||||||
RUN apt update && \
|
|
||||||
apt install --no-install-recommends -y opus-tools ffmpeg libmagic-dev curl tar && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
COPY --from=python-builder /MumbleConciergeBot /MumbleConciergeBot
|
COPY --from=python-builder /MumbleConciergeBot /MumbleConciergeBot
|
||||||
WORKDIR /MumbleConciergeBot
|
WORKDIR /MumbleConciergeBot
|
||||||
|
|
||||||
CMD ["venv/bin/python", "src/start.py"]
|
CMD ["venv/bin/python", "/MumbleConciergeBot/src/start.py"]
|
Loading…
Reference in New Issue