Update image to bookworm

pull/11/head
Stein Ivar Berghei 2023-08-20 11:43:47 +02:00
parent 1eb81d2da5
commit bec3683b44
2 changed files with 19 additions and 3 deletions

16
.dockerignore Normal file
View File

@ -0,0 +1,16 @@
ambiance
bin
cache
config
cookies.txt
dndmusicbot
Dockerfile
.git
.gitignore
.dockerignore
.jsimage
k8s
MPD
oauth.cfg
test
src

View File

@ -1,14 +1,14 @@
FROM golang:1.20 as builder
FROM golang:1.21-bookworm as builder
WORKDIR /src
COPY . .
RUN apt-get update && apt-get -y install libopus-dev libopusfile-dev && \
go build
FROM debian:bullseye-slim
FROM debian:bookworm-slim
RUN apt-get update && apt-get -y install \
ca-certificates \
libopus-dev libopusfile-dev \
mpd
mpd ffmpeg
COPY --from=builder /src/dndmusicbot /app/
ADD tmpl /app/tmpl