mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
8 lines
199 B
Bash
Executable file
8 lines
199 B
Bash
Executable file
#!/bin/sh
|
|
mkdir -p bin
|
|
CGO_ENABLED=0 GOOS=linux go build -o bin/go-proxy src/go-proxy/*.go || exit 1
|
|
|
|
if [ "$1" = "up" ]; then
|
|
docker compose up -d --build app && \
|
|
docker compose logs -f
|
|
fi
|