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