sco/Dockerfile
sneak aae9f59c2c
All checks were successful
continuous-integration/drone/push Build is passing
might build now?
2020-09-08 18:38:55 -07:00

11 lines
172 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
WORKDIR /app
CMD ["./main"]