Fixes
Build - Docker Image - RC / publish (push) Failing after 5m58s

This commit is contained in:
JonatanRek
2025-11-24 09:06:30 +01:00
parent 3302701e5b
commit e70cf5cdf7
+3 -4
View File
@@ -103,10 +103,9 @@ RUN npm run build
USER root
# Fix Permissions
RUN chown -R www-data:www-data /var/www/html && \
find /var/www/html -type d ! -perm 775 -print0 | xargs -0 -r -n 100 -P 10000 chmod 775 && \
find /var/www/html -type f -not -name "*.sh" ! -perm 664 -print0 | xargs -0 -r -n 100 -P 10000 chmod 664
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache && \
chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
#Start Container
RUN chmod +x /var/www/html/start.sh
CMD ["/var/www/html/start.sh"]