remove command fos_js_routing #10

Merged
emanuel.holzmann merged 1 commit from holzi1005-patch-6 into main 2024-11-29 13:56:36 +01:00

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 \