Dockerfile
384 Bytes
FROM takatost/nginx-php-fpm:latest
MAINTAINER JohnWang <wangjiajun@vchangyi.com>
ENV FILEBEAT_NAME service-finance
COPY configs/nginx/default.conf /etc/nginx/sites-available/default.conf
COPY src/ /data/www/
RUN cd /data/www && \
composer update --no-dev --no-progress --profile --prefer-dist && \
composer dump-autoload --optimize && \
chown -R nginx:nginx /data/www