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 /docker-entrypoint.sh RUN sed -i 's/\r//' /docker-entrypoint.sh VOLUME $PROJECT_DIR/storage ENTRYPOINT ["/bin/bash", "/docker-entrypoint.sh"] CMD ["run"]