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

View file

@ -1,11 +0,0 @@
FROM golang:latest
LABEL maintainer="Marc Di Luzio <marc.diluzio@gmail.com>"
WORKDIR /app
COPY . .
RUN go mod download
RUN go build -o rove-server -ldflags="-X 'github.com/mdiluz/rove/pkg/version.Version=$(git describe --always --long --dirty --tags)'" .
CMD [ "./rove-server" ]