diff --git a/build/Dockerfile b/build/Dockerfile index d81122b..0bd4cef 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -7,7 +7,7 @@ FROM golang:alpine AS builder WORKDIR /app ENV CGO_ENABLED=0 -ENV GOFLAGS="-mod=vendor -buildvcs=true" +ENV GOFLAGS="-tags=timetzdata -mod=vendor -buildvcs=true" COPY go.mod go.sum *.go ./ COPY internal ./internal/ diff --git a/main.go b/main.go index 62639c9..a7840d3 100644 --- a/main.go +++ b/main.go @@ -21,6 +21,7 @@ import ( "runtime/pprof" "syscall" "time" + _ "time/tzdata" "github.com/caarlos0/env/v10" "golang.org/x/text/language"