You must login to view /lordwelch/TorrentFilter/src/commit/0c72259da4ee1649efa2a3099eb286b782690577.
The GitHub option should be usable for most people, it only links via username.

Files
dms/Dockerfile
2021-05-30 18:17:58 -07:00

16 lines
340 B
Docker

FROM golang:alpine AS build
WORKDIR /src
ENV CGO_ENABLED=0
ARG TARGETOS
ARG TARGETARCH
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOBIN=/out/ go install -ldflags="-s -w" github.com/anacrolix/dms@latest
FROM alpine
COPY --from=build /out/dms /bin/dms
# RUN apk add ffmpeg
VOLUME /srv
EXPOSE 1900/udp
EXPOSE 1338/udp
ENTRYPOINT ["/bin/dms"]