summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-08-28 14:58:57 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-08-28 14:58:57 +0300
commit094e63a2ef716876fc299d03be02f90218266d21 (patch)
tree01f4b71e683648bd0fe38400fc3d3f13ba05471a /Makefile
parent459b87480e76d9be275b0ee8a30e4b691af8aaba (diff)
fix readme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
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