residentsleeper/Dockerfile
Tyler b867a586e5
All checks were successful
continuous-integration/drone/push Build is passing
Don't use GOPATH to build
2020-07-09 21:07:46 -04:00

11 lines
158 B
Docker

FROM golang:alpine AS builder
ADD . /go/src
RUN cd /go/src; go build -o sleeper
FROM alpine
COPY --from=builder /go/src/sleeper /sleeper
CMD ["/sleeper"]