From 58ed0318f03fd9af50387d51ce16fafc805d1123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=98eho=C5=99?= Date: Wed, 3 Jul 2024 00:06:56 +0200 Subject: [PATCH] feat(alpine): set /config as home ddirectory for user app --- apps/alpine/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/alpine/Dockerfile b/apps/alpine/Dockerfile index a8adb47..a0858cd 100644 --- a/apps/alpine/Dockerfile +++ b/apps/alpine/Dockerfile @@ -12,7 +12,9 @@ ENV CHARSET="UTF-8" \ RUN \ mkdir /config \ && \ - adduser app -D -u 568 -g 568 \ + adduser app -D -u 568 -g 568 -h /config \ + && \ + chown 568:568 /config \ && \ apk add --no-cache \ bash \