From 431c74ff7ff766006cd71c3c1d00594e33c1a7a2 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 29 Jun 2024 17:34:07 +0200 Subject: [PATCH] fix: create home directory --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 85e62c1..d761926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ ENV ARCHIVE="weewx-${WEEWX_VERSION}.tgz" ENV WEEWX_WDC_VERSION="v3.5.1" RUN addgroup --system --gid ${WEEWX_UID} weewx \ - && adduser --system --uid ${WEEWX_UID} --ingroup weewx weewx + && adduser --system --uid ${WEEWX_UID} --ingroup weewx weewx \ + && mkdir -p ${WEEWX_HOME} && chown -R weewx:weewx ${WEEWX_HOME} # Install installation dependencies RUN apt-get update -qq -y &&\