Small changes

This commit is contained in:
Roman Demidov 2022-07-29 13:30:01 +03:00
parent 956900c2ea
commit daad22ca54

View file

@ -92,8 +92,7 @@ RUN PACKAGE_URL=$( echo ${PACKAGE_URL} | sed "s/TARGETARCH/"${TARGETARCH}"/g") &
rm -f /tmp/$(basename "$PACKAGE_URL") && \
rm -rf /var/log/$COMPANY_NAME && \
rm -rf /var/lib/apt/lists/* && \
find /etc/${COMPANY_NAME} -perm 640 -exec chmod 644 {} \; && \
find /var/www/${COMPANY_NAME} -perm 640 -exec chmod 644 {} \;
usermod -a -G root ds;
VOLUME /var/log/$COMPANY_NAME /var/lib/$COMPANY_NAME /var/www/$COMPANY_NAME/Data /var/lib/postgresql /var/lib/rabbitmq /var/lib/redis /usr/share/fonts/truetype/custom