18 lines
387 B
Makefile
18 lines
387 B
Makefile
build:
|
|
cp ../server/knowyt files/
|
|
podman build --tag knowyt:latest .
|
|
|
|
run:
|
|
podman run --rm -it -p 32039:32039 -v /home/settel/codes/go/knowyt/server/data/:/data --name knowyt knowyt:latest
|
|
|
|
stop:
|
|
podman stop knowyt
|
|
|
|
save:
|
|
rm -f knowyt-latest.tar
|
|
podman save knowyt:latest -o knowyt-latest.tar
|
|
cd .. && ls -lh docker/knowyt-latest.tar
|
|
|
|
clean:
|
|
rm -f files/knowyt knowyt-latest.tar
|