remove command fos_js_routing
This commit is contained in:
parent
3b32d87d58
commit
9e3eaae1d7
1 changed files with 0 additions and 2 deletions
|
@ -24,7 +24,6 @@ RUN apk --no-cache add \
|
||||||
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-symfony.sh \
|
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: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 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
|
&& chmod +x /docker-entrypoint-init.d/02-symfony.sh
|
||||||
|
|
||||||
RUN --mount=type=secret,id=ARTIFACT_USER \
|
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) \
|
ARTIFACT_URL=$(cat /run/secrets/ARTIFACT_URL) \
|
||||||
&& wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip \
|
&& wget https://${ARTIFACT_USER}:${ARTIFACT_SECRET}@${ARTIFACT_URL}-${VERSION}.zip -O artifact.zip \
|
||||||
&& unzip artifact.zip \
|
&& unzip artifact.zip \
|
||||||
&& chown nobody assets/data/fos_routes.json \
|
|
||||||
&& chown -R nobody public \
|
&& chown -R nobody public \
|
||||||
&& chown -R nobody var \
|
&& chown -R nobody var \
|
||||||
&& chmod -R 700 public \
|
&& chmod -R 700 public \
|
||||||
|
|
Loading…
Reference in a new issue