Remove verbose logging from docker build

This commit is contained in:
Gabe Kangas 2020-09-25 11:08:53 -07:00
parent 63bb647990
commit 1a767fc2e8

View File

@ -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"]