2025-02-23 18:29:38 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
if ! [ -f Cargo.toml ]; then
|
|
|
|
echo "This script must be run from the root of the repo."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cargo build --release --target x86_64-unknown-linux-gnu
|
2025-04-22 13:21:17 +00:00
|
|
|
docker build -t "${DOCKER_REGISTRY:-docker.io}/glmdev/p5x-api:${DOCKER_TAG:-latest}" .
|