feat: Dockerize the application

This commit is contained in:
Darp Alakun
2025-01-04 19:52:54 -05:00
parent 466b34b5bd
commit 6e3cee596f
7 changed files with 48 additions and 78 deletions

View File

@@ -6,12 +6,12 @@ BINDIR ?= $(GOPATH)/bin
# for dockerized protobuf tools
DOCKER := $(shell which docker)
HTTPS_GIT := github.com/onsonr/hway.git
export RELEASE_DATE="$(date +%Y).$(date +%V).$(date +%u)"
all: install test
build: go.sum
go build -o build/hway ./cmd
go build -o build/hway .
install: go.sum
go install -mod=readonly ./cmd/hway