chore: migrate project to Go

This commit is contained in:
2024-01-18 16:08:11 +01:00
parent 5f048cdf83
commit 23a0ad5695
13 changed files with 574 additions and 345 deletions

View File

@@ -6,6 +6,9 @@ if [ $# -eq 0 ]
tag=$1
fi
docker build -f src/Dockerfile -t jkaninda/pg-bkup:$tag .
#go build
CGO_ENABLED=0 GOOS=linux go build
#docker compose up -d
docker build -f docker/Dockerfile -t jkaninda/pg-bkup:$tag .
docker compose up -d --force-recreate