Skip to content

/var/www/html nuke may be overkill #121

@jnovack

Description

@jnovack

This makes it EXTREMELY hard to pre-populate the /var/www/html/ directory with volumes...

https://github.com/ngineered/nginx-php-fpm/blob/master/scripts/start.sh#L40

start.sh

   # Remove the test index file
   rm -Rf /var/www/html/*

I can't docker volume in any files (like a config.php) or any directories into /var/www/html/.

I would humbly propose rm -Rf /var/www/html/index.php.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions