From 1a767fc2e80c44a360a56dec33c2fc775a8e1b03 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 25 Sep 2020 11:08:53 -0700 Subject: [PATCH] Remove verbose logging from docker build --- scripts/Dockerfile-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Dockerfile-build b/scripts/Dockerfile-build index ae55a2d8f..8b829f9dc 100644 --- a/scripts/Dockerfile-build +++ b/scripts/Dockerfile-build @@ -1,6 +1,6 @@ FROM golang:alpine EXPOSE 8080 1935 -RUN mkdir /app +RUN mkdir /app ADD . /app WORKDIR /app RUN apk add --no-cache ffmpeg ffmpeg-libs @@ -16,4 +16,4 @@ ENV NAME=${NAME} RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X main.GitCommit=$GIT_COMMIT -X main.BuildVersion=$VERSION -X main.BuildType=$NAME" -o owncast . WORKDIR /app -CMD ["/app/owncast", "-enableVerboseLogging"] +CMD ["/app/owncast"]