6 lines
179 B
Bash
Executable File
6 lines
179 B
Bash
Executable File
#!/bin/bash
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o noteserver .
|
|
docker build -t noteserver .
|
|
docker rm noteserver
|
|
docker run -d -p 80:3000 --name noteserver noteserver
|