Ensure docker build updates public/ and remove other unnessary files from image

This commit is contained in:
2023-04-13 10:05:10 +10:00
parent 9e90820bfd
commit a4c05002a1
3 changed files with 4 additions and 2 deletions

View File

@@ -7,4 +7,4 @@ RUN mkdir -p ${COMPOSER_HOME} && \
touch .composer.refresh && \
mv .env.example .env && \
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
rm -rf ${COMPOSER_HOME}/* composer.lock package-lock.json
rm -rf ${COMPOSER_HOME}/* composer.lock