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/
|
.venv/
|
||||||
__pycache__
|
__pycache__
|
||||||
|
jet-search.tar
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -1,11 +1,10 @@
|
||||||
APPLICATION = vm-experiments/jet-search
|
|
||||||
APP = jet-search
|
APP = jet-search
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build -t $(APPLICATION) .
|
docker build -t $(APP) .
|
||||||
docker save -o $(APPLICATION).tar $(APPLICATION)
|
docker save -o $(APP).tar $(APP)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp nginx /etc/nginx/sites-enabled/$(APP)
|
cp nginx /etc/nginx/sites-enabled/$(APP)
|
||||||
docker load -i $(APPLICATION)
|
docker load -i $(APP)
|
||||||
docker run --name $(APPLICATION) --restart always -d $(APPLICATION)
|
docker run --name $(APP) --restart always -d $(APP)
|
||||||
|
|
Loading…
Reference in a new issue