mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-23 01:20:27 +00:00
13 lines
310 B
Docker
13 lines
310 B
Docker
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 |