Related to #1 - to hew closer to the upstream wordpress docker image behavior of gracefully handling an empty directory, and to make life easier if we ever want to reinitialise from a new bedrock version, it might it be nice to automatically run composer create-project roots/bedrock /app if there's no composer.json present.
We probably want an environment variable to be able to disable this, for when we'll be copying in our own contents.
For safety, it should also bail out if there are unexpected files present.
Related to #1 - to hew closer to the upstream wordpress docker image behavior of gracefully handling an empty directory, and to make life easier if we ever want to reinitialise from a new bedrock version, it might it be nice to automatically run `composer create-project roots/bedrock /app` if there's no `composer.json` present.
We probably want an environment variable to be able to disable this, for when we'll be copying in our own contents.
For safety, it should also bail out if there are unexpected files present.
naomi
changed title from Run `composer create-project..` in entrypoint script if wordpress is not installed to Run `composer create-project..` in entrypoint script if there is no composer.json2021-12-07 09:29:58 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Related to #1 - to hew closer to the upstream wordpress docker image behavior of gracefully handling an empty directory, and to make life easier if we ever want to reinitialise from a new bedrock version, it might it be nice to automatically run
composer create-project roots/bedrock /appif there's nocomposer.jsonpresent.We probably want an environment variable to be able to disable this, for when we'll be copying in our own contents.
For safety, it should also bail out if there are unexpected files present.
Run `composer create-project..` in entrypoint script if wordpress is not installedto Run `composer create-project..` in entrypoint script if there is no composer.json