From 0b3f167fce2e33b4352e52b9b400f19f24d3fb4e Mon Sep 17 00:00:00 2001 From: jabuxas Date: Thu, 17 Oct 2024 19:03:34 -0300 Subject: [PATCH] build!: fix error that would make an initial setup not work properly --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10aa210..87f084f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,10 @@ FROM golang:1.23 AS builder WORKDIR /app COPY go.mod go.sum ./ -COPY go.mod ./ + +COPY static/ ./static/ + +COPY templates/ ./templates RUN go mod download @@ -14,5 +17,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /abyss FROM scratch COPY --from=builder /abyss /abyss +COPY --from=builder /app/static /static +COPY --from=builder /app/templates /templates CMD ["/abyss"]