FROM nodered/node-red:latest

USER root

COPY nodes/ /opt/nextcloud-nodes/node-red-contrib-nextcloud-woocommerce
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
