remove command fos_js_routing #10
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 \
|
||||
&& 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 \
|
||||
|
|
Loading…
Reference in a new issue