Enhance Docker configuration with UID and GID arguments for improved user permissions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-11 19:49:23 +11:00
parent 76183bfaa2
commit ce5b12d8b8
5 changed files with 25 additions and 3 deletions

View File

@@ -23,9 +23,12 @@ FROM mwader/static-ffmpeg:latest AS ffmpeg
FROM alpine:3.23
ARG XTEVE_UID=1000
ARG XTEVE_GID=1000
RUN apk add --no-cache ca-certificates tzdata \
&& addgroup -S xteve \
&& adduser -S -G xteve xteve \
&& addgroup -S -g "${XTEVE_GID}" xteve \
&& adduser -S -D -H -u "${XTEVE_UID}" -G xteve xteve \
&& mkdir -p /xteve/config \
&& chown -R xteve:xteve /xteve