#!/bin/bash
cargo build --release

TEMP_DIR=$(mktemp -d)
cp target/release/oidc-test-client "$TEMP_DIR"

docker build -f Dockerfile "$TEMP_DIR" -t pierre42100/oidc_test_client

rm -r $TEMP_DIR