Added services, updated build script

This commit is contained in:
2022-11-03 14:50:07 +01:00
parent 2e2e1b018e
commit 6823c84e5f
4 changed files with 23 additions and 3 deletions

View File

@@ -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