diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 |