ha-matter-bridge/matter-bridge/Dockerfile
2024-01-28 16:07:45 +01:00

14 lines
256 B
Docker

ARG BUILD_FROM=ghcr.io/hassio-addons/base:15.0.3
FROM ${BUILD_FROM}
COPY ./package.json ./
COPY ./package-lock.json ./
COPY ./src ./src
COPY ./tsconfig.json ./
RUN npm install
RUN npm install ts-node
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]