Skip to content

Commit

Permalink
Fix for content storage management #3
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenPj committed Jun 10, 2022
1 parent 68fa344 commit 57908e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM tomcat:9.0.56-jdk11-openjdk
ARG TOMCAT_DIR=/usr/local/tomcat
ARG USERNAME=alfresco
ARG USERID=33007
ARG CONTENT_STORAGE_DIR=/act_data

USER root

Expand All @@ -22,4 +23,7 @@ COPY --chown=${USERNAME} activiti-license/*.* $TOMCAT_DIR/lib/

RUN chown ${USERNAME}:${USERNAME} -R ${TOMCAT_DIR}

RUN mkdir -p ${CONTENT_STORAGE_DIR}
RUN chown ${USERNAME}:${USERNAME} ${CONTENT_STORAGE_DIR}

USER ${USERNAME}

0 comments on commit 57908e9

Please sign in to comment.