11 lines
190 B
Bash
Executable File
11 lines
190 B
Bash
Executable File
#!/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
|
|
|