Add Dockerfile MMDVMHost
This commit is contained in:
parent
8437c4388f
commit
80bae4529e
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
FROM alpine
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
cmake \
|
||||
make \
|
||||
g++ \
|
||||
git \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
ADD ./ /MMDVMHost
|
||||
WORKDIR /MMDVMHost
|
||||
RUN make \
|
||||
&& cp MMDVMHost /usr/local/bin
|
||||
|
||||
RUN mkdir /var/log/mmdvmhost
|
||||
|
||||
VOLUME /MMDVMHost
|
||||
VOLUME /var/log/mmdvmhost
|
||||
|
||||
WORKDIR /MMDVMHost
|
||||
|
||||
CMD ["MMDVMHost", "/MMDVMHost/MMDVM.ini"]
|
||||
|
Loading…
Reference in a new issue