From b8d87efe4f1c521342822c485385e27347cc482e Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 12 Nov 2024 22:10:06 +0100 Subject: [PATCH] fun fact: test your code before you push --- .gitignore | 1 + Makefile | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 40505c9..0cd331a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .venv/ __pycache__ +jet-search.tar diff --git a/Makefile b/Makefile index d06dfac..4c553db 100644 --- a/Makefile +++ b/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)