aboutsummaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..75c6e6b
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,17 @@
1image := 'cr.d464.sh/bonsai-web:latest'
2
3_default:
4 just --list
5
6start: stop
7 docker run --rm -itd --name bonsai-web -p 5000:5000 {{image}}
8 echo "container started on port 5000"
9
10stop:
11 docker stop bonsai-web || true
12
13build:
14 docker build -f Containerfile -t {{image}} .
15
16push: build
17 docker push {{image}}