From 44a527332a09cf79f7392acd18f77c13d9419c94 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Thu, 8 Sep 2016 11:21:26 -0700 Subject: [PATCH] fix Signed-off-by: Jess Frazelle --- node-sonos/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 node-sonos/Dockerfile diff --git a/node-sonos/Dockerfile b/node-sonos/Dockerfile new file mode 100644 index 0000000..e64aef3 --- /dev/null +++ b/node-sonos/Dockerfile @@ -0,0 +1,17 @@ +FROM mhart/alpine-node:5 + +RUN apk add --no-cache \ + build-base \ + ca-certificates \ + git \ + python + +RUN git clone --depth 1 https://github.com/jishi/node-sonos-http-api.git /opt/app + +# install dependencies +WORKDIR /opt/app +RUN npm install --production + +EXPOSE 3500/tcp 5005/tcp + +CMD ["npm", "start"]