mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-13 21:07:22 +00:00
Refactored Docker and Make files; increased command context timeouts;
add dockerignore
This commit is contained in:
parent
db246df3d6
commit
b76d5dffa3
7 changed files with 34 additions and 15 deletions
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue