BasicOIDC/build_docker_image.sh

11 lines
182 B
Bash
Raw Normal View History

2022-04-15 20:09:26 +00:00
#!/bin/bash
cargo build --release
TEMP_DIR=$(mktemp -d)
cp target/release/basic-oidc "$TEMP_DIR"
docker build -f Dockerfile "$TEMP_DIR" -t pierre42100/basic_oidc
rm -r $TEMP_DIR