Change install command to do docker build
This commit is contained in:
parent
13f356c900
commit
b5391bc918
1 changed files with 8 additions and 4 deletions
12
justfile
12
justfile
|
@ -1,13 +1,17 @@
|
||||||
set dotenv-load
|
set dotenv-load
|
||||||
|
|
||||||
|
DEV_COMPOSE := justfile_directory() + "/docker/dev/docker-compose.yml"
|
||||||
|
|
||||||
# Recipes
|
# Recipes
|
||||||
@default:
|
@default:
|
||||||
just --list
|
just --list
|
||||||
|
|
||||||
install:
|
@build:
|
||||||
python -m venv env
|
docker-compose -f {{ DEV_COMPOSE }} pull
|
||||||
pip install -r dev-requirements.txt
|
docker-compose -f {{ DEV_COMPOSE }} build
|
||||||
npm ci
|
|
||||||
|
@compose +ARGS:
|
||||||
|
docker-compose -f {{ DEV_COMPOSE }} {{ ARGS }}
|
||||||
|
|
||||||
@start:
|
@start:
|
||||||
honcho start
|
honcho start
|
||||||
|
|
Loading…
Reference in a new issue