Reorganise a little to move the server into it's own directory

This commit is contained in:
Marc Di Luzio 2020-06-05 17:15:25 +01:00
parent aa2ecace89
commit 5a2d35aca8
5 changed files with 17 additions and 3 deletions

11
script/build.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"
cd ..
set -x
# Generate a version string
export VERSION=$(git describe --always --long --dirty --tags)
# Build and tag as latest and version
docker build -t "rove-server:latest" -t "rove-server:${VERSION}" -f "cmd/rove-server/Dockerfile" .