diff --git a/Dockerfile b/Dockerfile index b744130..cd61bdb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ RUN apk update && \ apk add --no-cache git && \ apk add --no-cache upx=3.95-r1 -RUN go get github.com/mjibson/esc && \ - go get github.com/pilu/fresh +RUN go get -u github.com/dosco/esc && \ + go get -u github.com/pilu/fresh WORKDIR /app ADD . /app diff --git a/serv/serv.go b/serv/serv.go index 9ed61a4..5acd0b9 100644 --- a/serv/serv.go +++ b/serv/serv.go @@ -16,7 +16,7 @@ import ( "github.com/spf13/viper" ) -//go:generate esc -o static.go -private -pkg serv ../web/build +//go:generate esc -o static.go -private --prefix ../web/build -pkg serv ../web/build const ( authFailBlockAlways = iota + 1