mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
17
node-sonos/Dockerfile
Normal file
17
node-sonos/Dockerfile
Normal file
@@ -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"]
|
||||
Reference in New Issue
Block a user