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:
parent
9c18b4f8e4
commit
aded7a8787
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue