sco/Dockerfile
sneak b070be7308
All checks were successful
continuous-integration/drone/push Build is passing
put source code into docker image for posterity
2020-09-08 19:43:37 -07:00

12 lines
224 B
Docker

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