mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
fix: custom compose build context
This commit is contained in:
parent
38f5f430c4
commit
880f222e13
1 changed files with 3 additions and 5 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue