start.sh 156 B

12345
  1. #!/bin/bash
  2. GOOS=linux go build -ldflags="-s -w" server.go
  3. docker run --rm -it --cpus=1 -p 8080:8080 -v `pwd`:/app -w /app alpine /app/server
  4. rm -f server