From f24c27812349371f6d23858e07b86f807cdc6380 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Tue, 21 Dec 2021 15:35:32 +0300 Subject: [PATCH] Touch `.build` on develop image (untill https://github.com/frappe/frappe/issues/15396 is resolved) --- build/nginx/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/nginx/Dockerfile b/build/nginx/Dockerfile index abb6e890..6d116805 100644 --- a/build/nginx/Dockerfile +++ b/build/nginx/Dockerfile @@ -36,7 +36,9 @@ RUN cd apps/frappe && \ # Build assets they're stored in frappe-bench/sites/assets RUN echo "frappe" >sites/apps.txt \ && yarn --cwd apps/frappe run production \ - && rm sites/apps.txt + && rm sites/apps.txt \ + # TODO: Currently `yarn run production` doesn't create .build: https://github.com/frappe/frappe/issues/15396 + && if [ ! -f sites/.build ]; then touch .build; fi