Change install command to do docker build

This commit is contained in:
Jake Howard 2022-07-28 18:21:19 +01:00
parent 13f356c900
commit b5391bc918
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,13 +1,17 @@
set dotenv-load
DEV_COMPOSE := justfile_directory() + "/docker/dev/docker-compose.yml"
# Recipes
@default:
just --list
install:
python -m venv env
pip install -r dev-requirements.txt
npm ci
@build:
docker-compose -f {{ DEV_COMPOSE }} pull
docker-compose -f {{ DEV_COMPOSE }} build
@compose +ARGS:
docker-compose -f {{ DEV_COMPOSE }} {{ ARGS }}
@start:
honcho start