zigbee2mqtt/docker/arm32v7/Dockerfile
2018-04-14 15:25:57 +00:00

16 lines
310 B
Docker

FROM arm32v7/node
# Copy files
ADD . /app
RUN cp /app/data/configuration.yaml /app
# Create startup script.
RUN echo '#!/bin/bash\n\
cp -n /app/configuration.yaml /app/data/configuration.yaml\n\
npm start\n'\
>> /app/start.sh
RUN chmod +x /app/start.sh
WORKDIR /app
RUN npm install
ENTRYPOINT ["./start.sh"]