BasicOIDC/build_docker_image.sh
2022-04-15 22:09:26 +02:00

11 lines
182 B
Bash
Executable File

#!/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