This repository was archived by the owner on Jun 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11ARG ARCH=
22
3- FROM ${ARCH}python:3-slim-buster AS source
3+ FROM ${ARCH}python:3-slim-bullseye AS source
44ARG VERSION=master
55ENV DEBIAN_FRONTEND=noninteractive
66WORKDIR /botamusique
77RUN apt-get update && apt-get install -y git
88RUN git clone --recurse-submodules https://github.com/azlux/botamusique.git . && git checkout $VERSION
99
1010
11- FROM ${ARCH}python:3-slim-buster AS python-builder
11+ FROM ${ARCH}python:3-slim-bullseye AS python-builder
1212ENV DEBIAN_FRONTEND=noninteractive
1313WORKDIR /botamusique
1414RUN apt-get update \
@@ -20,23 +20,23 @@ RUN python3 -m venv venv \
2020 && venv/bin/pip install -r requirements.txt
2121
2222
23- FROM ${ARCH}node:14-buster -slim AS node-builder
23+ FROM ${ARCH}node:14-bullseye -slim AS node-builder
2424ENV DEBIAN_FRONTEND=noninteractive
2525WORKDIR /botamusique/web
2626COPY --from=source /botamusique/web .
2727RUN npm install
2828RUN npm run build
2929
3030
31- FROM ${ARCH}python:3-slim-buster AS template-builder
31+ FROM ${ARCH}python:3-slim-bullseye AS template-builder
3232ENV DEBIAN_FRONTEND=noninteractive
3333WORKDIR /botamusique
3434COPY --from=python-builder /botamusique .
3535COPY --from=node-builder /botamusique/templates templates
3636RUN venv/bin/python scripts/translate_templates.py --lang-dir /botamusique/lang --template-dir /botamusique/templates
3737
3838
39- FROM ${ARCH}python:3-slim-buster
39+ FROM ${ARCH}python:3-slim-bullseye
4040ENV DEBIAN_FRONTEND=noninteractive
4141EXPOSE 8181
4242WORKDIR /botamusique
You can’t perform that action at this time.
0 commit comments