sco/Dockerfile

17 lines
235 B
Docker

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