Publishing first Dockerfile to the Community

Hi Community =)

I use docker in production with official docker-images for a long time now. I also want to start to use them in my business, and for my customers. For that, I also want to give something back tot the community and start my first docker development =). It will be a forked from https://github.com/Spantree/docker-suitecrm especcially for the raspberry pi, and the LTS-Version of suitecrm. The Dockerfile is the following:

FROM php:7.3-apache

ENV DOWNLOAD_URL https://suitecrm.com/files/160/SuiteCRM-7.10/461/SuiteCRM-7.10.20.zip
ENV DOWNLOAD_FILE SuiteCRM-7.10.20.zip
ENV EXTRACT_FOLDER SuiteCRM-7.10.20
ENV WWW_FOLDER /var/www/html
ENV WWW_USER www-data
ENV WWW_GROUP www-data

RUN apt-get update && apt-get upgrade -y &&
apt-get install -y libzip-dev libcurl4-gnutls-dev libpng-dev libssl-dev libc-client2007e-dev libkrb5-dev unzip cron re2c python tree &&
docker-php-ext-configure imap --with-imap-ssl --with-kerberos &&
docker-php-ext-install mysqli curl gd zip mbstring imap pdo pdo_mysql &&
rm -rf /var/lib/apt/lists/*

WORKDIR /tmps

RUN curl -o DOWNLOAD_FILE -L "{DOWNLOAD_URL}" &&
unzip $DOWNLOAD_FILE &&
rm DOWNLOAD_FILE && \ rm -rf {WWW_FOLDER}/* &&
cp -R {EXTRACT_FOLDER}/* {WWW_FOLDER}/ &&
mv “/usr/local/etc/php/php.ini-production” “/var/www/html/php.ini” &&
chown -R {WWW_USER}:{WWW_GROUP} {WWW_FOLDER}/* && \ chown -R {WWW_USER}:{WWW_GROUP} {WWW_FOLDER}/ &&
mkdir -p /var/spool/cron/crontabs &&
rm -rf $EXTRACT_FOLDER &&
echo ‘* * * * * cd /var/www/html; php -f cron.php > /dev/null 2>&1’ > /var/spool/cron/crontabs/www-data

VOLUME /var/www/html

EXPOSE 80

So far so good it gets up and running…but when i try to doccker run -v some-host-directory:/var/www/html just an empty directory is mounted there, and the container stops functioning. Can someone help with developing this? Cause I don’t get why the mount is not accepted…