sco/Dockerfile

12 lines
224 B
Docker
Raw Normal View History

2020-09-08 22:28:23 +00:00
FROM golang:1.15 as builder
RUN mkdir /build
ADD . /build/
WORKDIR /build
RUN make build && find .
2020-09-08 22:28:23 +00:00
FROM scratch
2020-09-09 01:19:03 +00:00
COPY --from=builder /build/sco /app/main
COPY --from=builder /build /archive/build
2020-09-08 22:28:23 +00:00
WORKDIR /app
CMD ["./main"]