refactor: consolidate directory creation and permission settings into init-directories.sh

This commit is contained in:
zhao
2025-09-01 14:18:40 +08:00
parent c5c908b97b
commit 95af591ea2
6 changed files with 40 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ ENV CRM_VERSION=${CRM_VERSION}
RUN echo "CRM_VERSION value during build: ${CRM_VERSION}"
RUN echo -n "${CRM_VERSION}" > /tmp/CRM_VERSION
VOLUME [ "/opt/cordys/data", "/opt/cordys/logs", "/opt/cordys/conf" ]
VOLUME [ "/opt/cordys" ]
RUN chmod 777 /shells/*.sh
RUN chmod -R 777 /opt/cordys