From 93f7a611d3ec1dfae742c022a1864b5a4e9b835e Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 12 Oct 2024 20:25:41 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(Dockerfile):=20Create=20/ath?= =?UTF-8?q?eme/etc=20to=20avoid=20permission=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 409cd24..3773160 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG ATHEME_UID=10000 +ARG ATHEME_UID=1000 ARG ATHEME_VERSION ARG BUILD_CONTRIB_MODULES= @@ -51,6 +51,8 @@ COPY entrypoint.sh / RUN adduser -D -h /atheme -u $ATHEME_UID atheme RUN chown -R atheme /atheme +RUN mkdir /atheme/etc +RUN chown -R atheme /atheme/etc USER atheme # Services config & DB