Update skib_application_dockerfile.txt
This commit is contained in:
parent
1fb80116d4
commit
10b0ad41cf
1 changed files with 5 additions and 5 deletions
|
@ -59,13 +59,13 @@ 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 -d ${WEBDIR} \
|
||||
&& chown -R nobody ${WEBDIR}/public \
|
||||
&& chown -R nobody ${WEBDIR}/var \
|
||||
&& chmod -R 700 ${WEBDIR}/public \
|
||||
&& chmod -R 700 ${WEBDIR}/var
|
||||
&& chown -R nobody public \
|
||||
&& chown -R nobody var \
|
||||
&& chmod -R 700 public \
|
||||
&& chmod -R 700 var
|
||||
|
||||
RUN rm artifact.zip \
|
||||
&& rm -r ${WEBDIR}/var/cache
|
||||
&& rm -r var/cache
|
||||
|
||||
USER nobody
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue