Update docker setup

This commit is contained in:
Jan Dittberner 2024-02-11 13:12:26 +01:00
parent 78e06dd2b9
commit 7c57b4cc94
2 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
ARG DEBIAN_RELEASE=buster ARG DEBIAN_RELEASE=bookworm
FROM debian:$DEBIAN_RELEASE AS builder FROM debian:$DEBIAN_RELEASE AS builder
ARG GVAAPP=gva ARG GVAAPP=gva
ARG POETRY_VERSION=1.3.1 ARG POETRY_VERSION=1.7.1
ENV LC_ALL=C.UTF-8 ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
@ -26,7 +26,7 @@ WORKDIR /srv/$GVAAPP
COPY poetry.lock pyproject.toml /srv/$GVAAPP/ COPY poetry.lock pyproject.toml /srv/$GVAAPP/
RUN /root/.local/bin/poetry install --only=main RUN /root/.local/bin/poetry install --only=main --no-root
FROM debian:$DEBIAN_RELEASE FROM debian:$DEBIAN_RELEASE
LABEL maintainer="Jan Dittberner <jan@dittberner.info>" LABEL maintainer="Jan Dittberner <jan@dittberner.info>"

View file

@ -19,7 +19,7 @@ services:
volumes: volumes:
- "redis_data:/var/lib/redis" - "redis_data:/var/lib/redis"
gva: gva:
image: gnuviech/gva:buster image: gnuviech/gva:bookworm
build: build:
context: . context: .
args: args:
@ -67,7 +67,7 @@ services:
volumes: volumes:
- "../gvaldap/gvaldap:/srv/gvaldap/gvaldap" - "../gvaldap/gvaldap:/srv/gvaldap/gvaldap"
file: file:
image: gnuviech/gvafile:buster image: gnuviech/gvafile:bookworm
build: build:
context: ../gvafile context: ../gvafile
args: args: