11 lines
199 B
Bash
Executable File
11 lines
199 B
Bash
Executable File
#!/bin/bash
|
|
cargo build --release --bins
|
|
|
|
TEMP_DIR=$(mktemp -d)
|
|
cp target/release/sea_battle_backend "$TEMP_DIR"
|
|
|
|
docker build -f Dockerfile "$TEMP_DIR" -t pierre42100/seabattleapi
|
|
|
|
rm -r $TEMP_DIR
|
|
|