Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DockerFile - tasks and config folders are hardcode #113

Open
KnightDoom opened this issue Aug 27, 2024 · 0 comments
Open

DockerFile - tasks and config folders are hardcode #113

KnightDoom opened this issue Aug 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KnightDoom
Copy link

KnightDoom commented Aug 27, 2024

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
@BaldissaraMatheus BaldissaraMatheus added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants