From 2e2982d6c22944c078fdb18dd69798b51de85537 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 10aa210..c181d3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /app COPY go.mod go.sum ./ COPY go.mod ./ +COPY static ./ +COPY templates ./ RUN go mod download @@ -14,5 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /abyss FROM scratch COPY --from=builder /abyss /abyss +COPY --from=builder /app/static / +COPY --from=builder /app/templates / CMD ["/abyss"]