<filename>docker/php-nginx/7.2-alpine/Dockerfile<gh_stars>0
#+++++++++++++++++++++++++++++++++++++++
# Dockerfile for webdevops/php-nginx:7.2-alpine
#    -- automatically generated  --
#+++++++++++++++++++++++++++++++++++++++

FROM webdevops/php:7.2-alpine

ENV WEB_DOCUMENT_ROOT=/app \
    WEB_DOCUMENT_INDEX=index.php \
    WEB_ALIAS_DOMAIN=*.vm \
    WEB_PHP_TIMEOUT=600 \
    WEB_PHP_SOCKET=""
ENV WEB_PHP_SOCKET=127.0.0.1:9000
ENV SERVICE_NGINX_CLIENT_MAX_BODY_SIZE="50m"

COPY conf/ /opt/docker/

RUN set -x \
    && apk add tzdata \
    && cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime \
    && echo "Asia/Seoul" > /etc/timezone
    
RUN set -x \
    && wget https://gist.githubusercontent.com/hgati/4329be1a06fb8733ca3debe05450183a/raw/8d575ec2e976fc5f152c5ea1a0eaef318314b79e/vimrc -P ~ \
    && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim \
    && vim +PluginInstall +qall

RUN set -x \
    # Install nginx
    && apk-install \
        nginx \
        nginx-mod-http-geoip2 \
        libmaxminddb \
    && docker-run-bootstrap \
    && docker-image-cleanup

EXPOSE 80 443
