dockerfiles/node-sonos/Dockerfile
Jess Frazelle 44a527332a
fix
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-08 11:21:26 -07:00

18 lines
300 B
Docker

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"]