mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-25 20:20:00 +00:00
Add arm32v7 docker.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
node_modules
|
||||
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user