sco/Dockerfile
sneak c02e4a48da
All checks were successful
continuous-integration/drone/push Build is passing
rebuild image so i can see where source lives
2020-09-08 19:45:11 -07:00

13 lines
225 B
Docker

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