Rustelo/scripts/cross-build.sh
Jesús Pérez 7cab57b645
Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
CI/CD Pipeline / Cleanup (push) Has been cancelled
chore: update layout and files
2026-02-08 20:18:46 +00:00

11 lines
563 B
Bash
Executable File

#cross build --target x86_64-unknown-linux-gnu --release --features "tls,content-static"
#cross leptos build --target x86_64-unknown-linux-gnu --release --js-minify true --features "tls,content-static"
IMAGE="localhost/cross-rs/cross-custom-jpl-website:x86_64-unknown-linux-gnu-960e8"
#docker run -it
docker run --rm --platform linux/amd64 -v $(pwd):/project \
-v $(pwd)/node_modules_linux:/project/node_modules \
-v $(pwd)/target_linux:/project/target \
-w /project $IMAGE \
bash -c "scripts/leptos-build.sh && scripts/dist-pack.sh linux-amd64"