sco/Dockerfile
sneak b48165fa0a
All checks were successful
continuous-integration/drone/push Build is passing
add better startup and shutdown msgs
2020-09-08 19:57:28 -07:00

16 lines
211 B
Docker

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