Refactored Docker and Make files; increased command context timeouts;

add dockerignore
This commit is contained in:
Mitchell 2019-05-29 23:32:56 -07:00
parent db246df3d6
commit b76d5dffa3
7 changed files with 34 additions and 15 deletions

View file

@ -1,15 +1,15 @@
.PHONY: all build clean format test
.PHONY: all build clean format test gen-certs-go
build: clean format
env CGO_ENABLED=0 go build -o ./bin/server ./cmd/server
rm ./cmd/server/certs.go
clean:
rm -rf ./bin
go mod tidy
docker:
docker: gen-certs-go
docker-compose build
rm ./cmd/server/certs.go
local:
docker-compose up -d