fix: templ generate after copy
1 files changed, 2 insertions(+), 1 deletions(-) M Dockerfile
M Dockerfile => Dockerfile +2 -1
@@ 11,11 11,12 @@ COPY go.mod go.sum ./ RUN go mod download && go mod verify RUN go install github.com/a-h/templ/cmd/templ@$(go list -m -f '{{ .Version }}' github.com/a-h/templ) RUN templ generate --path internal/components COPY cmd/ ./cmd COPY internal/ ./internal RUN templ generate --path internal/components RUN --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=1 GOOS=linux go build -ldflags=-X=main.version=${VERSION} -v -o /felu ./cmd/felu/main.go