fun fact: test your code before you push
This commit is contained in:
parent
8f021fabf3
commit
b8d87efe4f
2 changed files with 6 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.venv/
|
||||
__pycache__
|
||||
jet-search.tar
|
||||
|
|
11
Makefile
11
Makefile
|
@ -1,11 +1,10 @@
|
|||
APPLICATION = vm-experiments/jet-search
|
||||
APP = jet-search
|
||||
|
||||
build:
|
||||
docker build -t $(APPLICATION) .
|
||||
docker save -o $(APPLICATION).tar $(APPLICATION)
|
||||
docker build -t $(APP) .
|
||||
docker save -o $(APP).tar $(APP)
|
||||
|
||||
install:
|
||||
cp nginx /etc/nginx/sites-enabled/$(APP)
|
||||
docker load -i $(APPLICATION)
|
||||
docker run --name $(APPLICATION) --restart always -d $(APPLICATION)
|
||||
cp nginx /etc/nginx/sites-enabled/$(APP)
|
||||
docker load -i $(APP)
|
||||
docker run --name $(APP) --restart always -d $(APP)
|
||||
|
|
Loading…
Reference in a new issue