Files
noteserver/docker-deploy.sh
2025-08-14 19:30:32 -07:00

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 noteserver --name noteserver