Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ COPY . .
# Build frontend assets
RUN cd web && npm run build

# Install templ and generate template files
RUN go install github.com/a-h/templ/cmd/templ@latest
# Install templ and generate template files.
# Pin the CLI to the go.mod runtime version (github.com/a-h/templ) so it stays
# buildable on this Go toolchain and `templ generate` matches the runtime.
# `@latest` drifts ahead (v0.3.1020 requires Go >= 1.25, breaking this builder).
# Bump in lockstep with go.mod.
RUN go install github.com/a-h/templ/cmd/templ@v0.3.960
RUN templ generate

# Build both binaries
Expand Down
Loading