sco/Dockerfile

11 lines
172 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
2020-09-08 22:58:55 +00:00
RUN make build
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
2020-09-08 22:28:23 +00:00
WORKDIR /app
CMD ["./main"]