2017-04-21 13:07:45 +03:00
|
|
|
FROM wichon/alpine-apache-php
|
2016-11-26 13:01:33 +03:00
|
|
|
|
2017-04-21 13:07:45 +03:00
|
|
|
ENV PROJECT_DIR=/app \
|
|
|
|
APP_URL=localhost
|
2016-11-26 13:01:33 +03:00
|
|
|
|
2017-04-21 13:07:45 +03:00
|
|
|
RUN apk --no-cache add php-zlib php-mysqli php-gettext
|
|
|
|
|
|
|
|
COPY ./src $PROJECT_DIR
|
|
|
|
COPY docker-entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
VOLUME $PROJECT_DIR/storage
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|
|
|
|
CMD ["run"]
|