From 880f222e1373d3af012ef41cf49bee384f8a2bdc Mon Sep 17 00:00:00 2001 From: Sun Howwrongbum Date: Sun, 28 Jun 2020 16:28:27 +0530 Subject: [PATCH] fix: custom compose build context --- installation/docker-compose-custom.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/installation/docker-compose-custom.yml b/installation/docker-compose-custom.yml index 67833600..0ef32b77 100644 --- a/installation/docker-compose-custom.yml +++ b/installation/docker-compose-custom.yml @@ -4,11 +4,10 @@ services: [app]-assets: image: [app]-assets build: - context: . - dockerfile: ./build/[app]-assets/Dockerfile + context: ../build/[app]-nginx restart: on-failure environment: - - FRAPPE_PY=erpnext-python + - FRAPPE_PY=[app]-python - FRAPPE_PY_PORT=8000 - FRAPPE_SOCKETIO=frappe-socketio - SOCKETIO_PORT=9000 @@ -34,8 +33,7 @@ services: [app]-python: image: [app]-worker build: - context: . - dockerfile: ./build/[app]-worker/Dockerfile + context: ../build/[app]-worker restart: on-failure environment: - MARIADB_HOST=${MARIADB_HOST}