diff --git a/Dockerfile b/Dockerfile index a018fdb..8fae995 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,13 @@ FROM golang:latest AS fetch-stage COPY go.mod go.sum /app +COPY . /app + WORKDIR /app -RUN go mod download +RUN go mod tidy +RUN go mod download # Generate stage FROM ghcr.io/a-h/templ:latest AS generate-stage