Files
vindn.de/frontend/docker-entrypoint.prod.sh
T
2026-08-17 01:56:40 +02:00

11 lines
354 B
Bash

#!/bin/sh
set -e
# Real config (DATABASE_URL etc.) only exists as actual container env vars
# at this point — injected via docker-compose.yaml's env_file — not during
# the image build, so cache-warming has to happen here instead of a RUN
# step in Dockerfile.prod.
php bin/console cache:clear --env=prod --no-debug
exec docker-php-entrypoint "$@"