2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-09 16:36:26 +00:00

Touch .build on develop image (untill https://github.com/frappe/frappe/issues/15396 is resolved)

This commit is contained in:
Lev Vereshchagin 2021-12-21 15:35:32 +03:00
parent adc526d859
commit f24c278123

View File

@ -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