Update the dev dockerfile and build dockerfile to fix #60
This commit is contained in:
@@ -4,6 +4,7 @@ RUN mkdir /app
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
RUN apk add --no-cache ffmpeg ffmpeg-libs
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o owncast .
|
||||
RUN apk update && apk add --no-cache gcc build-base linux-headers
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o owncast .
|
||||
WORKDIR /app
|
||||
CMD ["/app/owncast"]
|
||||
Reference in New Issue
Block a user