mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
ci: Move build to last step
This commit is contained in:
parent
4e45c79dd4
commit
31fa30967d
2 changed files with 1 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ services:
|
||||||
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
|
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
|
||||||
bench set-config -g redis_socketio "redis://$$REDIS_QUEUE";
|
bench set-config -g redis_socketio "redis://$$REDIS_QUEUE";
|
||||||
bench set-config -gp socketio_port $$SOCKETIO_PORT;
|
bench set-config -gp socketio_port $$SOCKETIO_PORT;
|
||||||
|
bench build --production;
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: ${DB_HOST}
|
DB_HOST: ${DB_HOST}
|
||||||
DB_PORT: ${DB_PORT}
|
DB_PORT: ${DB_PORT}
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,6 @@ RUN export APP_INSTALL_ARGS="" && \
|
||||||
/home/frappe/frappe-bench && \
|
/home/frappe/frappe-bench && \
|
||||||
cd /home/frappe/frappe-bench && \
|
cd /home/frappe/frappe-bench && \
|
||||||
echo "{}" > sites/common_site_config.json && \
|
echo "{}" > sites/common_site_config.json && \
|
||||||
bench build --production \
|
|
||||||
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
||||||
|
|
||||||
FROM base AS backend
|
FROM base AS backend
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue