mirror of
https://github.com/GiriNeko/vlmcsd-docker.git
synced 2025-12-14 12:27:02 +00:00
Update Dockerfile
change timezone to china
This commit is contained in:
parent
509c3b9a5b
commit
40ed6e7e70
1 changed files with 4 additions and 0 deletions
|
|
@ -9,5 +9,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
|
|||
FROM alpine:latest
|
||||
WORKDIR /root/
|
||||
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||
apk add tzdata && \
|
||||
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
echo "Asia/Shanghai" > /etc/timezone
|
||||
EXPOSE 1688/tcp
|
||||
CMD [ "/usr/bin/vlmcsd", "-D", "-d","-e","-v"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue