jet-search/Makefile

10 lines
226 B
Makefile

APP = jet-search
build:
docker build -t $(APP) .
docker save -o $(APP).tar $(APP)
install:
cp nginx /etc/nginx/sites-enabled/$(APP)
docker load -i $(APP)
docker run -p 5000:5000 --name $(APP) --restart always -d $(APP)