|
@ -1,7 +1,7 @@ |
|
|
ARG ARCH= |
|
|
ARG ARCH= |
|
|
|
|
|
|
|
|
FROM ${ARCH}python:3-slim-buster AS source |
|
|
FROM ${ARCH}python:3-slim-buster AS source |
|
|
ARG VERSION=7.1 |
|
|
|
|
|
|
|
|
ARG VERSION=7.2 |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
WORKDIR /botamusique |
|
|
WORKDIR /botamusique |
|
|
RUN apt-get update && apt-get install -y git |
|
|
RUN apt-get update && apt-get install -y git |
|
@ -9,8 +9,10 @@ RUN git clone --recurse-submodules https://github.com/azlux/botamusique.git . && |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FROM ${ARCH}python:3-slim-buster AS python-builder |
|
|
FROM ${ARCH}python:3-slim-buster AS python-builder |
|
|
|
|
|
ARG APT_CACHE= |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
WORKDIR /botamusique |
|
|
WORKDIR /botamusique |
|
|
|
|
|
RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox |
|
|
RUN apt-get update \ |
|
|
RUN apt-get update \ |
|
|
&& apt-get install -y gcc ffmpeg libjpeg-dev libmagic-dev opus-tools zlib1g-dev \ |
|
|
&& apt-get install -y gcc ffmpeg libjpeg-dev libmagic-dev opus-tools zlib1g-dev \ |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
@ -37,9 +39,11 @@ RUN venv/bin/python scripts/translate_templates.py --lang-dir /botamusique/lang |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FROM ${ARCH}python:3-slim-buster |
|
|
FROM ${ARCH}python:3-slim-buster |
|
|
|
|
|
ARG APT_CACHE= |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
ENV DEBIAN_FRONTEND=noninteractive |
|
|
EXPOSE 8181 |
|
|
EXPOSE 8181 |
|
|
WORKDIR /botamusique |
|
|
WORKDIR /botamusique |
|
|
|
|
|
RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox |
|
|
RUN apt-get update \ |
|
|
RUN apt-get update \ |
|
|
&& apt-get install -y ffmpeg libmagic-dev opus-tools zlib1g \ |
|
|
&& apt-get install -y ffmpeg libmagic-dev opus-tools zlib1g \ |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|