2017-05-21 14:53:14 +03:00
|
|
|
FROM php:7.0-apache
|
2016-11-26 13:01:33 +03:00
|
|
|
|
2017-05-21 14:53:14 +03:00
|
|
|
ENV PROJECT_DIR=/var/www/html \
|
2017-04-21 13:07:45 +03:00
|
|
|
APP_URL=localhost
|
2016-11-26 13:01:33 +03:00
|
|
|
|
2017-05-21 14:53:14 +03:00
|
|
|
RUN docker-php-ext-install mysqli gettext
|
2017-04-21 13:07:45 +03:00
|
|
|
|
|
|
|
COPY ./src $PROJECT_DIR
|
|
|
|
COPY docker-entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
VOLUME $PROJECT_DIR/storage
|
|
|
|
|
2017-05-21 14:53:14 +03:00
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
2017-04-23 14:22:09 +03:00
|
|
|
CMD ["run"]
|