14 lines
256 B
Docker
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" ] |