aboutsummaryrefslogtreecommitdiff
path: root/Justfile
blob: 75c6e6b356a7950bd1b37b62965f9ab5b0465e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image := 'cr.d464.sh/bonsai-web:latest'

_default:
    just --list

start: stop
    docker run --rm -itd --name bonsai-web -p 5000:5000 {{image}}
    echo "container started on port 5000"

stop:
    docker stop bonsai-web || true

build:
    docker build -f Containerfile -t {{image}} .

push: build
    docker push {{image}}