Open KnightDoom opened 2 weeks ago
the Docker file provides an ENV variable to allow setting the path_to_config and path_to_tasks directories.
ENV CONFIG_DIR="/config" ENV TASKS_DIR="/tasks"
However the Entry point does not consider this and hardcodes it in the chown commands
ENTRYPOINT mkdir -p /config/stylesheets/ && \ mkdir -p /config/images/ && \ mkdir -p /config/sort/ && \ cp -r /config/stylesheets/. /stylesheets/ && \ cp -r /stylesheets/. /config/stylesheets/ && \ chown -R $PUID:$PGID /config && \ chown -R $PUID:$PGID /tasks && \ node /api/server.js
the Docker file provides an ENV variable to allow setting the path_to_config and path_to_tasks directories.
However the Entry point does not consider this and hardcodes it in the chown commands