fix templ cli install in docker

This commit is contained in:
Laptop
2025-01-18 12:20:29 +02:00
parent 71012be90e
commit 57162f5730
2 changed files with 2 additions and 9 deletions

View File

@@ -6,10 +6,9 @@ ARG TARGETARCH
WORKDIR /build
# fuck google
RUN go env -w GOPROXY=direct
RUN go install github.com/a-h/templ/cmd/templ@latest
# moved this to here, because go.lsp.dev is gone, and that's where one of the modules that templ cli needs resides, go proxy still has the module
RUN go env -w GOPROXY=direct
RUN go install github.com/dlclark/regexp2cg@main
COPY . .