/var/www/html should not be a volume #139

Closed
opened 2017-04-26 13:58:31 +00:00 by cgarnier · 0 comments
cgarnier commented 2017-04-26 13:58:31 +00:00 (Migrated from github.com)

You should remove this line.

VOLUME /var/www/html

Putting the app inside a volume is not a common way to use docker.
You should ADD the app files and VOLUME the folder you need to persist.

If you need a volume for dev purpose just do it in a docker-compose or with the cli.

You should remove this line. ``` VOLUME /var/www/html ``` Putting the app inside a volume is not a common way to use docker. You should ADD the app files and VOLUME the folder you need to persist. If you need a volume for dev purpose just do it in a docker-compose or with the cli.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ric/nginx-php-fpm#139
No description provided.