From 2dd1ab2ae6884e9968e791e925b173076f163b2f Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" Date: Tue, 24 Mar 2026 13:43:03 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1976ed0..38b8f1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ LABEL maintainer="${BUILD_MAINTAINER}" LABEL org.opencontainers.image.title="${BUILD_APP_NAME}" ENV TZ=${ENV_TZ} -ENV USER=${BUILD_APP_USER} RUN apt update && \ apt install wget && \ @@ -22,8 +21,8 @@ RUN apt update && \ WORKDIR /app -RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app +RUN adduser -D ${BUILD_APP_USER} && chown -R ${BUILD_APP_USER}:${BUILD_APP_USER} /app -USER ${APP_USER} +USER ${BUILD_APP_USER} CMD ["bash"] \ No newline at end of file