FROM php:7.0-apache ENV PROJECT_DIR=/var/www/html \ APP_URL=localhost RUN docker-php-ext-install mysqli gettext COPY ./src $PROJECT_DIR COPY docker-entrypoint.sh /entrypoint.sh VOLUME $PROJECT_DIR/storage ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] CMD ["run"]