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

Investigate if we could de-hardcode /usr/src/app #114

Open
anthonyfok opened this issue Jun 8, 2021 · 0 comments
Open

Investigate if we could de-hardcode /usr/src/app #114

anthonyfok opened this issue Jun 8, 2021 · 0 comments
Assignees

Comments

@anthonyfok
Copy link
Member

[wishlist, low priority; applies to OpenDRR/model-factory too]

Right now, a lot of the code has the path /usr/src/app, which is the WORKDIR of the python-opendrr Docker Compose service (?). Would be nice if it could be de-hardcoded, so, for example, add_data.sh and friends may be run outside of Docker, if there is ever a desire to do so.

Might be tricky though, especially in the PostgresSQL scripts. There is the :variable syntax that we could use in the SQL scripts, but how flexible is that in reality, that remains to be seen.

So, is this feasible or worth pursuing at all? Don't know.
Assigning myself to this issue right now so I don't forget, but will likely ask Drew and Will to help if and when we are much less busy. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant