mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Add simple listing of sonos devices and basic Dockefile for running it
This commit is contained in:
28
Dockerfile
Normal file
28
Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM node:14.15-alpine as build
|
||||
|
||||
WORKDIR /bonob
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
COPY tsconfig.json .
|
||||
COPY src .
|
||||
|
||||
RUN yarn install && \
|
||||
yarn build
|
||||
|
||||
|
||||
|
||||
FROM node:14.15-alpine
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /bonob
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
COPY --from=build /bonob/build/* ./
|
||||
COPY web web
|
||||
|
||||
RUN yarn install --prod
|
||||
|
||||
CMD ["node", "./app.js"]
|
||||
Reference in New Issue
Block a user