mirror of
https://github.com/GiriNeko/vlmcsd-docker.git
synced 2025-12-15 21:07:03 +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
|
||||
WORKDIR /root
|
||||
RUN apk add --no-cache git make build-base && \
|
||||
git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||
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/ && \
|
||||
make
|
||||
|
||||
|
|
@ -9,4 +10,4 @@ FROM alpine:latest
|
|||
WORKDIR /root/
|
||||
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
||||
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