13 lines
225 B
Docker
13 lines
225 B
Docker
FROM golang:1.15 as builder
|
|
RUN mkdir /build
|
|
ADD . /build/
|
|
WORKDIR /build
|
|
RUN find /
|
|
RUN make build
|
|
|
|
FROM scratch
|
|
COPY --from=builder /build/sco /app/main
|
|
COPY --from=builder /build /archive/build
|
|
WORKDIR /app
|
|
CMD ["./main"]
|