Merge pull request 'fix js_route permission' (#9) from holzi1005-patch-5 into main

Reviewed-on: #9
Reviewed-by: emanuel.holzmann <emanuel.holzmann@noreply.localhost>
This commit is contained in:
emanuel.holzmann 2024-11-28 16:54:06 +01:00
commit 3b32d87d58

View file

@ -35,6 +35,7 @@ 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 \