correct from label

This commit is contained in:
David 2022-04-02 17:31:02 -04:00
parent 759835993e
commit 5e101c236a

View File

@ -4,6 +4,6 @@ COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve
FROM scratch FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=0 /src/server ./ COPY --from=0 /src/server ./
CMD ["/server"] CMD ["/server"]