Skip to content

Custom frontend file in Docker #337

@lehha

Description

@lehha

Description

Cant add a custom file to Dockerfile (COPY index.php /var/www/html/), because Cleanup row #7 in entrypoint.sh clear directory /var/www/html/ after copying file into it.

Why it should be implemented

The way to customize Docker build.

Optional: implementation suggestions

Maybe add new instruction in entrypoint.sh like:
if file index_custom.php exist, rename index_custom.php into index.php
Or explain this problem for having way to customize any file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions