notes/no/mininote/build_and_run.sh

17 lines
283 B
Bash
Executable File

#! /bin/bash
img="bel/mininote"
tag="latest"
cd "$(dirname "${BASH_SOURCE[0]}")"
git clone https://github.com/n1try/mininote
pushd ./mininote
docker build -t $img:$tag .
popd
docker run --rm -it \
--name ${img##*/} \
-p 8344:3000 \
-v $(pwd)/mnt:/app/data \
$img:$tag