put source code into docker image for posterity
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey Paul 2020-09-08 19:43:37 -07:00
parent a72e5bc0c4
commit b070be7308

View File

@ -2,9 +2,10 @@ FROM golang:1.15 as builder
RUN mkdir /build
ADD . /build/
WORKDIR /build
RUN make build
RUN make build && find .
FROM scratch
COPY --from=builder /build/sco /app/main
COPY --from=builder /build /archive/build
WORKDIR /app
CMD ["./main"]