Added services, updated build script
This commit is contained in:
8
build.sh
8
build.sh
@@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
RUNNER="podman"
|
||||
|
||||
cargo build --target x86_64-unknown-linux-musl --release
|
||||
$RUNNER build -t pastabble:latest .
|
||||
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
|
||||
Reference in New Issue
Block a user