diff --git a/build/erpnext-nginx/Dockerfile b/build/erpnext-nginx/Dockerfile index 72488ab7..e2821259 100644 --- a/build/erpnext-nginx/Dockerfile +++ b/build/erpnext-nginx/Dockerfile @@ -12,6 +12,7 @@ FROM frappe/frappe-nginx:${GIT_BRANCH} COPY --from=0 /home/frappe/frappe-bench/sites/ /var/www/html/ COPY --from=0 /rsync /rsync RUN echo "erpnext" >> /var/www/html/apps.txt +RUN touch -m /var/www/html/.build VOLUME [ "/assets" ] diff --git a/build/frappe-nginx/Dockerfile b/build/frappe-nginx/Dockerfile index fc17a7b6..ac97cfd0 100644 --- a/build/frappe-nginx/Dockerfile +++ b/build/frappe-nginx/Dockerfile @@ -33,6 +33,7 @@ COPY --from=0 /home/frappe/frappe-bench/sites /var/www/html/ COPY --from=0 /var/www/error_pages /var/www/ COPY build/common/nginx-default.conf.template /etc/nginx/conf.d/default.conf.template COPY build/frappe-nginx/docker-entrypoint.sh / +RUN touch -m /var/www/html/.build RUN apt-get update && apt-get install -y rsync && apt-get clean \ && echo "#!/bin/bash" > /rsync \