make back

This commit is contained in:
holzi1005 2024-11-18 18:52:38 +01:00
parent 7714f7ef2a
commit bf5e9c41a6

View file

@ -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