File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ LABEL org.opencontainers.image.authors="colisee@hotmail.com"
1616COPY --chmod=755 bin /usr/local/bin/
1717
1818# Create cron jobs
19- COPY --chown=www-data:root --chmod=0775 lb-jobs-cron /config/
19+ COPY --chown=www-data:www-data --chmod=0755 lb-jobs-cron /config/
2020
2121# Copy composer
2222COPY --from=comp /usr/bin/composer /usr/bin/composer
@@ -89,8 +89,15 @@ RUN set -ex; \
8989 if ! [ -d /var/www/html/tpl_c ]; then \
9090 mkdir /var/www/html/tpl_c; \
9191 fi; \
92- chown --recursive www-data:root /var/www/html; \
93- chmod --recursive g+rwx /var/www/html
92+ mkdir /var/www/html/Web/uploads/reservation
93+
94+ RUN set -ex; \
95+ chown www-data:root /var/www/html/tpl_c; \
96+ chmod g+rwx /var/www/html/tpl_c; \
97+ chgrp root /var/www/html/config /var/www/html/Web/uploads/images \
98+ /var/www/html/Web/uploads/reservation; \
99+ chmod g+rwx /var/www/html/config /var/www/html/Web/uploads/images \
100+ /var/www/html/Web/uploads/reservation
94101
95102# Environment
96103USER www-data
You can’t perform that action at this time.
0 commit comments