diff --git a/Dockerfile b/Dockerfile index 62194f4..381ec50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,4 +60,4 @@ RUN chown -R fly:fly $GOCACHE $GOMODCACHE USER fly RUN go get github.com/cespare/reflex -CMD ~/go/bin/reflex -r '(\.go$|\.gohtml$|go\.mod$|\.env$)' -s -- sh -c "go run main.go" +CMD ~/go/bin/reflex -r '(\.go$|\.gohtml$|go\.mod$|\.env$)' -s -- sh -c "go run -race main.go" diff --git a/docker-compose.yml b/docker-compose.yml index 062b75b..db4642f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '3' services: confetti.local: build: - context: runtimes + context: ./ dockerfile: Dockerfile args: WWWGROUP: '${WWWGROUP:-20}' diff --git a/go.sum b/go.sum index ba4d2d6..030c378 100644 --- a/go.sum +++ b/go.sum @@ -15,6 +15,8 @@ github.com/confetti-framework/routing v0.5.1 h1:N2J1FdzNJvDnEXK8K4UOjRCCGACN1Gs2 github.com/confetti-framework/routing v0.5.1/go.mod h1:Qo2uCL3L1fBZ783AzYg5TcSB2+fvjSiH19TXqaVIANo= github.com/confetti-framework/support v0.2.0-rc.1 h1:LSF3NDIVqPpRJEEj4r+4N1PoJfAvGxe0Hdr2sNHwJ60= github.com/confetti-framework/support v0.2.0-rc.1/go.mod h1:uwOTcc+vAtkzr5GihkCzjv11YVI15UJMhfU2HLRCk/A= +github.com/confetti-framework/support v0.2.0-rc.2 h1:8VT+f4BFI7HrquqRjrYIdq+79NoNt7pCbGLf3t+XCI0= +github.com/confetti-framework/support v0.2.0-rc.2/go.mod h1:uwOTcc+vAtkzr5GihkCzjv11YVI15UJMhfU2HLRCk/A= github.com/confetti-framework/syslog v0.1.0-rc h1:BqzyW2p9uSxYOL1MQFrMGAcsix7X5nW8bgHlf7SuZkM= github.com/confetti-framework/syslog v0.1.0-rc/go.mod h1:O6eT3y5cYDGQSVT6lrhScB5NKdylG0R304PmGiChm7Y= github.com/confetti-framework/validation v0.1.0-rc.1 h1:FAWrTYiyurHnO1oBeIcTH2mmdfN+aJCskDkWvMawt6A=