ci: Move build to last step

This commit is contained in:
JJ-Cronos 2025-03-27 14:43:27 +02:00
parent 4e45c79dd4
commit 31fa30967d
2 changed files with 1 additions and 1 deletions

View file

@ -32,6 +32,7 @@ services:
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
bench set-config -g redis_socketio "redis://$$REDIS_QUEUE";
bench set-config -gp socketio_port $$SOCKETIO_PORT;
bench build --production;
environment:
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}

View file

@ -129,7 +129,6 @@ RUN export APP_INSTALL_ARGS="" && \
/home/frappe/frappe-bench && \
cd /home/frappe/frappe-bench && \
echo "{}" > sites/common_site_config.json && \
bench build --production \
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
FROM base AS backend