Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 9b9b4e4

Browse files
committed
upgrade debian base
1 parent 81ff7c3 commit 9b9b4e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile.local

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ARG ARCH=
22

3-
FROM ${ARCH}python:3-slim-buster AS source
3+
FROM ${ARCH}python:3-slim-bullseye AS source
44
ARG VERSION=master
55
ENV DEBIAN_FRONTEND=noninteractive
66
WORKDIR /botamusique
77
RUN apt-get update && apt-get install -y git
88
RUN 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
1212
ENV DEBIAN_FRONTEND=noninteractive
1313
WORKDIR /botamusique
1414
RUN 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
2424
ENV DEBIAN_FRONTEND=noninteractive
2525
WORKDIR /botamusique/web
2626
COPY --from=source /botamusique/web .
2727
RUN npm install
2828
RUN 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
3232
ENV DEBIAN_FRONTEND=noninteractive
3333
WORKDIR /botamusique
3434
COPY --from=python-builder /botamusique .
3535
COPY --from=node-builder /botamusique/templates templates
3636
RUN 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
4040
ENV DEBIAN_FRONTEND=noninteractive
4141
EXPOSE 8181
4242
WORKDIR /botamusique

0 commit comments

Comments
 (0)