Run compose from the root in part layout
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
COMPOSE := docker compose{% if layout == 'part' %} --project-directory ..{% endif %}
|
COMPOSE := {% if layout == 'part' %}cd .. && {% endif %}docker compose
|
||||||
{% if serve != 'api' %}IMAGE := {{ project_slug }}/frontend
|
{% if serve != 'api' %}IMAGE := {{ project_slug }}/frontend
|
||||||
{% endif %}changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null
|
{% endif %}changed = ! git diff --quiet $(1) -- $(2) 2>/dev/null
|
||||||
stamp = { git update-ref $(1) HEAD 2>/dev/null || true; }
|
stamp = { git update-ref $(1) HEAD 2>/dev/null || true; }
|
||||||
|
|||||||
Reference in New Issue
Block a user