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

Add entrypoint scripts for DEV only on first container creation #377

Closed
minottic opened this issue Nov 21, 2024 · 1 comment
Closed

Add entrypoint scripts for DEV only on first container creation #377

minottic opened this issue Nov 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@minottic
Copy link
Contributor

minottic commented Nov 21, 2024

Entrypoints are run whenever the container is recreated, for example on

docker compose down && DEV=true docker compose up -d

This may override local changes, for example, in the frontend the merge_json.sh script overrides the config.json file which might differ from the merged config.json.

In DEV the entrypoints should be skipped if the container is recreated, for example by checking if the .git directory exists.

@minottic minottic added the bug Something isn't working label Nov 21, 2024
@minottic
Copy link
Contributor Author

closed by #379

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

1 participant