Install node deps during build

The project dir is mounted in, so they're not available from the
container
This commit is contained in:
Jake Howard 2022-08-03 21:54:03 +01:00
parent ee9ed8e063
commit a818106f75
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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 }}