2024-01-26 23:19:14 +01:00
|
|
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base:15.0.3
|
|
|
|
FROM ${BUILD_FROM}
|
|
|
|
|
2024-01-23 23:39:46 +01:00
|
|
|
COPY ./package.json ./
|
|
|
|
COPY ./package-lock.json ./
|
|
|
|
COPY ./src ./src
|
|
|
|
COPY ./tsconfig.json ./
|
|
|
|
RUN npm install
|
|
|
|
RUN npm install ts-node
|
|
|
|
|
2024-01-26 23:19:14 +01:00
|
|
|
COPY run.sh /
|
|
|
|
RUN chmod a+x /run.sh
|
|
|
|
|
|
|
|
CMD [ "/run.sh" ]
|