Set NODE_ENV to PRODUTION in Docker container. https://github.com/Koenkk/zigbee2mqtt/discussions/14625

This commit is contained in:
Koen Kanters
2022-10-24 19:30:40 +02:00
parent 08ceae235e
commit 41053aa024
+2
View File
@@ -28,5 +28,7 @@ RUN mkdir /app/data
ARG COMMIT
RUN echo "$COMMIT" > dist/.hash
ENV NODE_ENV production
ENTRYPOINT ["docker-entrypoint.sh"]
CMD [ "/sbin/tini", "--", "node", "index.js"]