From 6c8b53a715532554fb2772f4ce6505924b5d7e6a Mon Sep 17 00:00:00 2001 From: Teddysun Date: Fri, 1 Nov 2019 22:09:19 +0900 Subject: [PATCH] Update Dockerfile --- docker/brook/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/brook/Dockerfile b/docker/brook/Dockerfile index 90be66a..640b744 100644 --- a/docker/brook/Dockerfile +++ b/docker/brook/Dockerfile @@ -5,13 +5,13 @@ FROM golang:alpine as builder RUN set -ex && apk add --update git \ - && go get github.com/txthinking/brook/cli/brook + && go get -u -v github.com/txthinking/brook/cli/brook FROM alpine:latest LABEL maintainer="Teddysun " -COPY --from=builder /go/bin /usr/bin +COPY --from=builder /go/bin/brook /usr/bin ENV ARGS="server -l :9000 -p password0" -CMD /usr/bin/brook $ARGS +CMD brook $ARGS