1260920476
Change-Id: Ib6be5235c026fcd527f6db7ac305d8e739afae54
30 lines
815 B
Makefile
30 lines
815 B
Makefile
all: build daemon
|
|
|
|
clean: kill remove
|
|
|
|
build:
|
|
sudo docker build -t bansho .
|
|
|
|
rebuild:
|
|
sudo docker build --no-cache -t bansho .
|
|
|
|
interactive:
|
|
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -v $(shell pwd)/app:/opt/bansho/dist -e BANSHO_ENV=false -i -t --name bansho bansho bash
|
|
|
|
daemon:
|
|
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -v $(shell pwd)/app:/opt/bansho/dist -e BANSHO_PROD=false -d -t --name bansho bansho
|
|
grunt development
|
|
|
|
production:
|
|
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -d -t --name bansho bansho
|
|
|
|
staging:
|
|
sudo docker run -p 8888:8888 --link surveil_surveil_1:surveil -v $(shell pwd)/dist:/opt/bansho/dist -e BANSHO_PROD=false -d -t --name bansho bansho
|
|
grunt staging
|
|
|
|
kill:
|
|
sudo docker kill bansho
|
|
|
|
remove:
|
|
sudo docker rm -f bansho
|