11 lines
313 B
Bash
Executable File

#!/bin/sh
cargo build --target x86_64-unknown-linux-musl --release
podman build -t pastabble:latest .
# publish
# podman build --arch=arm64 . -t git.plabble.org/{user}/pastabble
# podman push git.plabble.org/{user}/pastabble
# run
# podman run -p 8080:8080 --name pastabble-c -v pastabble-v:/data -it pastabble