diff options
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,11 +2,12 @@ FROM alpine:3.13 as builder RUN apk update && apk upgrade RUN apk add go git -COPY ./go.* /hived/ +COPY go.* /hived/ RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build FROM alpine:3.13 COPY --from=builder /hived/hived /hived/ -ENTRYPOINT ["/hived/hived"] +COPY ./docker-entrypoint.sh /hived/ +ENTRYPOINT ["/hived/docker-entrypoint.sh"] |