remove command fos_js_routing

This commit is contained in:
holzi1005 2024-11-29 13:55:23 +01:00
parent 3b32d87d58
commit 9e3eaae1d7

View file

@ -24,7 +24,6 @@ RUN apk --no-cache add \
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-symfony.sh \
&& echo "php bin/console cache:clear" >> /docker-entrypoint-init.d/02-symfony.sh \
&& echo "php bin/console cache:warmup" >> /docker-entrypoint-init.d/02-symfony.sh \
&& echo "php bin/console fos:js-routing:dump --format=json --target=assets/data/fos_routes.json" >> /docker-entrypoint-init.d/02-symfony.sh \
&& chmod +x /docker-entrypoint-init.d/02-symfony.sh
RUN --mount=type=secret,id=ARTIFACT_USER \
@ -35,7 +34,6 @@ RUN --mount=type=secret,id=ARTIFACT_USER \
ARTIFACT_URL=$(cat /run/secrets/ARTIFACT_URL) \
&& wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip \
&& unzip artifact.zip \
&& chown nobody assets/data/fos_routes.json \
&& chown -R nobody public \
&& chown -R nobody var \
&& chmod -R 700 public \