Update Dockerfile

This commit is contained in:
2026-01-01 14:41:45 +00:00
parent dabdcb9dad
commit 680d68e198

View File

@@ -222,18 +222,20 @@ RUN curl -o /var/www/cms/help-links.yaml https://raw.githubusercontent.com/xibos
RUN echo $GIT_COMMIT > /var/www/cms/commit.sha RUN echo $GIT_COMMIT > /var/www/cms/commit.sha
# Tidy up # Tidy up
RUN rm /var/www/cms/composer.* && \ RUN set -eux \
rm -r /var/www/cms/docker && \ && rm /var/www/cms/composer.* || true \
rm -r /var/www/cms/tests && \ && rm -r /var/www/cms/docker || true \
rm /var/www/cms/.dockerignore && \ && rm -r /var/www/cms/tests || true \
rm /var/www/cms/phpunit.xml && \ && rm /var/www/cms/.dockerignore || true \
rm /var/www/cms/package.json && \ && rm /var/www/cms/phpunit.xml || true \
rm /var/www/cms/package-lock.json && \ && rm /var/www/cms/package.json || true \
rm /var/www/cms/cypress.config.js && \ && rm /var/www/cms/package-lock.json || true \
rm -r /var/www/cms/cypress && \ && rm /var/www/cms/cypress.config.js || true \
rm -r /var/www/cms/ui && \ && rm -r /var/www/cms/cypress || true \
rm /var/www/cms/webpack.config.js && \ && rm -r /var/www/cms/ui || true \
rm /var/www/cms/lib/routes-cypress.php && rm /var/www/cms/webpack.config.js || true \
&& rm /var/www/cms/lib/routes-cypress.php || true
# Map a volumes to this folder. # Map a volumes to this folder.
# Our CMS files, library, cache and backups will be in here. # Our CMS files, library, cache and backups will be in here.