build!: fix error that would make an initial setup not work properly
This commit is contained in:
parent
766efc53c3
commit
2e2982d6c2
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user