Create Dockerfile

master
呓喵酱 4 years ago committed by GitHub
parent c20f6eff2d
commit 50e95c5262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Dockerfile

@ -0,0 +1,12 @@
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/iotcat/vlmcsd.git && \
cd vlmcsd/ && \
make
FROM alpine:latest
WORKDIR /root/
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
EXPOSE 1688/tcp
CMD [ "/usr/bin/vlmcsd", "-D", "-d" ]
Loading…
Cancel
Save