Fantastic/backend/entrypoint.sh

10 lines
No EOL
173 B
Bash
Executable file

#!/bin/sh
set -e
echo "Container's IP address: `awk 'END{print $1}' /etc/hosts`"
cd /backend
cargo build --release
mkdir -p out
cp target/release/fantastic-rs out/backend