fix: cache clearing

This commit is contained in:
u00lipp committed 2025-10-23 12:39:40 +02:00
1 parent 10c65295cc
commit 8c1b86dc9a
3 files changed
+36 -1

No files matched your search

+31 -1
View File
@@ -74,4 +74,34 @@ docker-compose.override.yml
*.seed *.seed
*.swp *.swp
*.swo *.swo
*.tmp *.tmp
*.md
/tests
/.vscode
/.idea
/.git
/.github
*.log
*.tmp
*.bak
*.swp
*.swo
.DS_Store
Thumbs.db
Desktop.ini
*.sql
*.pgsql
*.sqlite
*.tar.gz
*.zip
*.tar
*.gz
/.htaccess
/nginx.conf
/.docker/
+1
View File
@@ -61,6 +61,7 @@
# Entferne .env Datei, um sensible Daten nicht im finalen Image zu behalten # Entferne .env Datei, um sensible Daten nicht im finalen Image zu behalten
RUN rm -f /var/www/html/.env RUN rm -f /var/www/html/.env
RUN rm -f /var/www/html/env-config.env
EXPOSE 80 EXPOSE 80
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
+4
View File
@@ -18,5 +18,9 @@ fi
echo "[entrypoint] Using SERVER_NAME=$SERVER_NAME" echo "[entrypoint] Using SERVER_NAME=$SERVER_NAME"
nginx -t || { echo "[entrypoint] nginx config test failed" >&2; cat /var/log/nginx/error.log || true; exit 1; } nginx -t || { echo "[entrypoint] nginx config test failed" >&2; cat /var/log/nginx/error.log || true; exit 1; }
php artisan config:clear
php artisan cache:clear
exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf