Browse Source

Bumped to version 7.2

master 7.2.0
Drew Short 4 years ago
parent
commit
29f40a017a
  1. 6
      Dockerfile

6
Dockerfile

@ -1,7 +1,7 @@
ARG ARCH=
FROM ${ARCH}python:3-slim-buster AS source
ARG VERSION=7.1
ARG VERSION=7.2
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /botamusique
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
ARG APT_CACHE=
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /botamusique
RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox
RUN apt-get update \
&& apt-get install -y gcc ffmpeg libjpeg-dev libmagic-dev opus-tools zlib1g-dev \
&& 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
ARG APT_CACHE=
ENV DEBIAN_FRONTEND=noninteractive
EXPOSE 8181
WORKDIR /botamusique
RUN echo "${APT_CACHE}" >> /etc/apt/apt.conf.d/01prox
RUN apt-get update \
&& apt-get install -y ffmpeg libmagic-dev opus-tools zlib1g \
&& rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save