ha-matter-bridge/Dockerfile
2024-01-26 23:19:14 +01:00

14 lines
220 B
Docker

ARG BUILD_FROM
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" ]