summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-08-28 15:22:01 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-08-28 15:22:01 +0300
commit670fadcfbcef7d139ebb81e3d4aa5f8ccac804ee (patch)
tree38e9139a43ee68ba03dfcb5d5b7535ba9efd55e1 /Makefile
parent094e63a2ef716876fc299d03be02f90218266d21 (diff)
separate html dirHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index db4ded9..5621cdf 100644
--- a/Makefile
+++ b/Makefile
@@ -6,5 +6,6 @@ deploy:
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
+ docker rm -f nixshare || true
+ docker volume rm -f nixshare_html || true
+ docker run --name nixshare -d -p 8095:8000 -v nixshare:/app/storage -v nixshare_html:/app/html gitrepo.ru/neonxp/nixshare \ No newline at end of file