fun fact: test your code before you push

This commit is contained in:
Patrick 2024-11-12 22:10:06 +01:00
parent 8f021fabf3
commit b8d87efe4f
2 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.venv/ .venv/
__pycache__ __pycache__
jet-search.tar

View file

@ -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)