-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (24 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!make
include .env
.PHONY: behave-wip
behave-wip:
docker exec -it $(SOURCE_CONTAINER) behave -k --tags @wip
.PHONY: behave
behave:
docker exec -it $(SOURCE_CONTAINER) behave
.PHONY: docker-status
docker-status:
docker ps --format "{{.Status}}" -af name=$(SOURCE_CONTAINER)
.PHONY: docker-stop
docker-stop:
docker-compose stop
.PHONY: docker-run
docker-run: ./dockerFiles/logs/compose_build.log
docker-compose up -d
./dockerFiles/logs/compose_build.log : ./dockerFiles/python/requirements.txt \
./dockerFiles/python/Dockerfile
mkdir -p ./dockerFiles/logs
docker-compose build > ./dockerFiles/logs/compose_build.log
./dockerFiles/python/requirements.txt: conf/python/requirements.txt
echo '#Generated file do not edit' \
| cat - ./conf/python/requirements.txt > ./dockerFiles/python/requirements.txt