forked from data.coop/membersystem
Enable buildkit when building.
This commit is contained in:
parent
0bad2a599c
commit
f35a31f259
8
Makefile
8
Makefile
|
@ -1,15 +1,15 @@
|
|||
DOCKER_RUN = docker-compose run -e UID=`id -u` -e GID=`id -g`
|
||||
DOCKER_BUILD = DOCKER_BUILDKIT=1 docker build
|
||||
DOCKER_COMPOSE = COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose
|
||||
DOCKER_RUN = ${DOCKER_COMPOSE} run -e UID=`id -u` -e GID=`id -g`
|
||||
MANAGE = ${DOCKER_RUN} backend python /app/src/manage.py
|
||||
|
||||
lint:
|
||||
poetry run pre-commit run --all
|
||||
|
||||
run:
|
||||
docker-compose up --build
|
||||
${DOCKER_COMPOSE} up --build
|
||||
|
||||
build:
|
||||
docker-compose build
|
||||
${DOCKER_COMPOSE} build
|
||||
|
||||
makemessages:
|
||||
${MANAGE} makemessages -a
|
||||
|
|
Loading…
Reference in a new issue