add config cache

This commit is contained in:
peaklabs-dev
2024-11-13 17:19:06 +01:00
parent 5b5f5832b8
commit bb6315d759

View File

@@ -5,7 +5,7 @@ ARG SERVERSIDEUP_PHP_VERSION=8.3-fpm-nginx-alpine
ARG MINIO_VERSION=RELEASE.2024-11-05T11-29-45Z ARG MINIO_VERSION=RELEASE.2024-11-05T11-29-45Z
# https://github.com/cloudflare/cloudflared/releases # https://github.com/cloudflare/cloudflared/releases
ARG CLOUDFLARED_VERSION=2024.11.0 ARG CLOUDFLARED_VERSION=2024.11.0
# https://www.postgresql.org/support/versioning/ - Can not be updated automatically so keep it at 15 # https://www.postgresql.org/support/versioning/ - Can not updated automatically so keep it at 15
ARG POSTGRES_VERSION=15 ARG POSTGRES_VERSION=15
@@ -93,5 +93,7 @@ RUN chmod +x /usr/bin/mc
USER www-data USER www-data
RUN php artisan route:clear && \ RUN php artisan route:clear && \
php artisan view:clear && \ php artisan view:clear && \
php artisan config:clear && \
php artisan route:cache && \ php artisan route:cache && \
php artisan view:cache php artisan view:cache && \
php artisan config:cache