docker-vlmcsd/Dockerfile
2022-08-05 19:48:25 +01:00

16 lines
439 B
Docker

FROM alpine:latest as builder
WORKDIR /root
RUN apk add --no-cache git make build-base && \
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
cd vlmcsd && \
make
FROM alpine:latest
COPY --from=builder /root/vlmcsd/bin/vlmcsd /vlmcsd
COPY --from=builder /root/vlmcsd/etc/vlmcsd.kmd /vlmcsd.kmd
RUN apk add --no-cache tzdata
EXPOSE 1688/tcp
CMD ["/vlmcsd", "-D", "-d", "-t", "3", "-e", "-v"]