ha-matter-bridge/matter-bridge/Dockerfile
2024-01-29 10:28:43 +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" ]