mirror of
https://github.com/GiriNeko/vlmcsd-docker.git
synced 2025-12-16 13:27:02 +00:00
Update Dockerfile
show logs,change mirrors
This commit is contained in:
parent
4195d04f68
commit
509c3b9a5b
1 changed files with 4 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
FROM alpine:latest as builder
|
FROM alpine:latest as builder
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
RUN apk add --no-cache git make build-base && \
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
|
apk add --no-cache git make build-base && \
|
||||||
|
git clone --branch master --single-branch https://api.ineko.cc/gh/https://github.com/Wind4/vlmcsd.git && \
|
||||||
cd vlmcsd/ && \
|
cd vlmcsd/ && \
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
@ -9,4 +10,4 @@ FROM alpine:latest
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
||||||
EXPOSE 1688/tcp
|
EXPOSE 1688/tcp
|
||||||
CMD [ "/usr/bin/vlmcsd", "-D", "-d" ]
|
CMD [ "/usr/bin/vlmcsd", "-D", "-d","-e","-v"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue