Update Dockerfile

This commit is contained in:
Teddysun
2024-12-29 23:22:33 +09:00
parent 54072da2d9
commit 168062f2de
24 changed files with 71 additions and 36 deletions

View File

@@ -3,14 +3,14 @@
# Reference URL:
# https://github.com/Wind4/vlmcsd
FROM --platform=$TARGETPLATFORM alpine:latest AS builder
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 --platform=$TARGETPLATFORM alpine:latest
FROM alpine:latest
LABEL maintainer="Teddysun <i@teddysun.com>"
COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd