Skip to content

pre-run instructions #795

Closed
Closed
@funivan

Description

@funivan

Sometimes we have to run WP CLI or other tools to configure instance. It would be nice to have something like this in the docker-entry

if [[ -f "/usr/local/bin/pre-run.sh" ]]; then
 /usr/local/bin/pre-run.sh
fi
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["apache2-foreground"]

WDYT about adding these lines into the docker-entrypoint.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions