From 094e63a2ef716876fc299d03be02f90218266d21 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 28 Aug 2024 14:58:57 +0300 Subject: fix readme --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db4ded9 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +.PHONY: deploy + +deploy: + docker context use default + docker build -t gitrepo.ru/neonxp/nixshare:latest . + docker push gitrepo.ru/neonxp/nixshare:latest + docker context use curie + docker pull gitrepo.ru/neonxp/nixshare:latest + docker rm nixshare || true + docker run --name nixshare -d -p 8095:8000 -v nixshare:/app/storage gitrepo.ru/neonxp/nixshare \ No newline at end of file -- cgit v1.2.3