manekinekko / cafy

An experimental node package to interact with the Delonghi Primadonna Elite (and probably other ECAM models)
MIT License
53 stars 8 forks source link

Add Docker Image #5

Open Azrael-Masters opened 3 years ago

Azrael-Masters commented 3 years ago

Its faster and easier to deploy a Demo / Dev-Enviroment, which works under different Operation Systems. I tested this additions to the project with my Raspberry Pi 4, which is hosting my SmartHome Components like OpenHAB or NodeRed. Hopefully my OpenHAB can run Cafy-Commands soon 🥇

Looking forward to test and contribute 👍

eyalcha commented 3 years ago

@Azrael-Masters why do you install noble? I see it is part of the dependencies.

@manekinekko is there a way to reduce some of the depndencies? e.g., is prettier needed to the functionality of the module?

manekinekko commented 3 years ago

@eyalcha prettier is only needed for development. Btw, when the Cafy package is stable enough, I will publish it on npm so you don't have to clone this repo.

eyalcha commented 3 years ago

@Azrael-Masters Can you please explain why you added @abandonware/bluetooth-hci-socket ?

eyalcha commented 3 years ago

This is my Dockefile to run on raspberry pi.

FROM node:14
LABEL maintainer="Eyal Cohen"

RUN npm install -g node-gyp

WORKDIR /app

COPY package*.json ./

COPY . .

RUN npm i

CMD ["npm", "start"]