mirror of
https://github.com/GiriNeko/vlmcsd-docker.git
synced 2025-12-17 22:07:02 +00:00
Add docker scripts
This commit is contained in:
parent
790be46393
commit
868d58d0ce
3 changed files with 35 additions and 1 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
|
@ -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/Wind4/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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue