diff options
Diffstat (limited to 'components/pm-subscription-handler/Dockerfile')
-rw-r--r-- | components/pm-subscription-handler/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/Dockerfile b/components/pm-subscription-handler/Dockerfile index bb3f63c6..b1f3129b 100644 --- a/components/pm-subscription-handler/Dockerfile +++ b/components/pm-subscription-handler/Dockerfile @@ -30,7 +30,10 @@ ENV PMSHUSER=pmsh \ WORKDIR $APPDIR # add non root user & group -RUN addgroup --system $PMSHUSER && adduser --ingroup $PMSHUSER --system $PMSHUSER +RUN addgroup --system $PMSHUSER && adduser --ingroup $PMSHUSER --system $PMSHUSER && \ + # create and chown the LOGS_PATH + mkdir -p $LOGS_PATH && \ + chown -R $PMSHUSER:$PMSHUSER $LOGS_PATH COPY setup.py ./ COPY requirements.txt ./ |