1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-26 14:57:17 +00:00

Merge pull request #156 from znetstar/master

Adds a Dockerfile
This commit is contained in:
Andy 2018-01-22 04:35:21 +01:00 committed by GitHub
commit 91e3535891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM alpine:3.5
WORKDIR /app/build
COPY . /app
RUN apk add --no-cache g++ make cmake libmpdclient-dev openssl-dev
RUN cmake ..
RUN make
FROM alpine:3.5
RUN apk add --no-cache libmpdclient openssl
EXPOSE 8080
COPY --from=0 /app/build/ympd /usr/bin/ympd
COPY --from=0 /app/build/mkdata /usr/bin/mkdata
CMD ympd