Remove volume definition from Dockerfile because it creates an empty directory if you mount a volume on the parent directory /var/www/html.

This commit is contained in:
Michael Stenta 2019-04-20 21:06:40 -04:00
parent 9c18b4f8e4
commit aded7a8787
1 changed files with 0 additions and 3 deletions

View File

@ -66,9 +66,6 @@ RUN curl -SL "http://ftp.drupal.org/files/projects/farm-${FARMOS_VERSION}-core.t
# volume is mounted, if necessary.
RUN cp -rp /var/www/html/sites /tmp/sites
# Mount a volume at /var/www/html/sites.
VOLUME /var/www/html/sites
# Set the entrypoint.
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod u+x /usr/local/bin/docker-entrypoint.sh