11 lines
190 B
Bash
11 lines
190 B
Bash
|
#!/bin/bash
|
||
|
cargo build --release
|
||
|
|
||
|
TEMP_DIR=$(mktemp -d)
|
||
|
cp target/release/geneit_backend "$TEMP_DIR"
|
||
|
|
||
|
docker build -f Dockerfile "$TEMP_DIR" -t pierre42100/geneit_backend
|
||
|
|
||
|
rm -r $TEMP_DIR
|
||
|
|