forked from Maurice/pastabble
docs: add documentation for building container
This commit is contained in:
parent
f893f1967a
commit
de4ec24d83
9
build.sh
9
build.sh
@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
cargo build --target x86_64-unknown-linux-musl --release
|
||||
podman build -t pastabble:latest .
|
||||
podman save --format oci-archive -o pastabble.tar pastabble
|
||||
|
||||
# load with podman load -i pastabble.tar
|
||||
# run with podman run -p 8080:8080 --name pastabble-c -v pastabble-v:/data -it pastabble
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user