feat: Add makefile
This commit is contained in:
parent
1f4b9248d5
commit
b9ebe9704e
1 changed files with 11 additions and 2 deletions
13
Makefile
13
Makefile
|
@ -6,10 +6,19 @@ TAG:=$(shell TZ=UTC date +"%Y%m%d")
|
|||
all:
|
||||
|
||||
build:
|
||||
docker build -t $(USERNAME)/$(IMAGE):$(TAG) .
|
||||
docker-compose build
|
||||
|
||||
run:
|
||||
# remplir ici
|
||||
docker-compose up --detach
|
||||
|
||||
logs:
|
||||
docker-compose logs -f
|
||||
|
||||
shell:
|
||||
docker-compose exec etherpad bash
|
||||
|
||||
kill:
|
||||
docker-compose kill
|
||||
|
||||
test: build
|
||||
# remplir ici
|
||||
|
|
Loading…
Reference in a new issue