summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deliveries/Dockerfile.portal3
1 files changed, 2 insertions, 1 deletions
diff --git a/deliveries/Dockerfile.portal b/deliveries/Dockerfile.portal
index cce3ed09..b92bfc14 100644
--- a/deliveries/Dockerfile.portal
+++ b/deliveries/Dockerfile.portal
@@ -40,12 +40,13 @@ RUN cd ${PORTALCONTEXT} && unzip -q *.war && rm *.war
COPY ${FE_DIR} ${PORTALCONTEXT}/public
VOLUME ${TOMCATHOME}/logs
+RUN mkdir -p ${TOMCATHOME}/temp
# Switch to unprivileged user
RUN addgroup -g 1000 -S portal && adduser -u 1000 -S portal -G portal
+RUN chown portal:portal ${TOMCATHOME}/temp
USER portal
-# Switch back to root
WORKDIR /
# Define commonly used ENV variables