mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
3e0fc7968f
Signed-off-by: Jess Frazelle <acidburn@google.com>
18 lines
292 B
Docker
18 lines
292 B
Docker
FROM node:alpine
|
|
|
|
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"]
|