diff --git a/skib_application_dockerfile b/skib_application_dockerfile index 25df847..2581734 100644 --- a/skib_application_dockerfile +++ b/skib_application_dockerfile @@ -57,7 +57,12 @@ RUN --mount=type=secret,id=ARTIFACT_USER \ ARTIFACT_USER=$(cat /run/secrets/ARTIFACT_USER) \ ARTIFACT_SECRET=$(cat /run/secrets/ARTIFACT_SECRET) \ 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 -d /var/www/html/ \ + && chown -R nobody public \ + && chown -R nobody var \ + && chmod -R 700 public \ + && chmod -R 700 var RUN rm artifact.zip \ && rm -r var/cache