From a818106f75f2de64ca794d9c1b363d190d5a796f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 Aug 2022 21:54:03 +0100 Subject: [PATCH] Install node deps during build The project dir is mounted in, so they're not available from the container --- justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index dad9849..3972e55 100644 --- a/justfile +++ b/justfile @@ -6,9 +6,10 @@ DEV_COMPOSE := justfile_directory() + "/docker/dev/docker-compose.yml" @default: just --list -@build: +build: docker-compose -f {{ DEV_COMPOSE }} pull docker-compose -f {{ DEV_COMPOSE }} build + docker-compose -f {{ DEV_COMPOSE }} run --rm --no-deps web npm ci @compose +ARGS: docker-compose -f {{ DEV_COMPOSE }} {{ ARGS }}