提交 0cf58f06 authored 作者: testing's avatar testing

fix

上级 add5f1f9
...@@ -8,6 +8,7 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo ...@@ -8,6 +8,7 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
bash \ bash \
openssh-client \ openssh-client \
wget \ wget \
supervisor \
curl \ curl \
libcurl \ libcurl \
libpq \ libpq \
...@@ -26,7 +27,6 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo ...@@ -26,7 +27,6 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
gcc \ gcc \
g++ g++
RUN pecl install redis-stable \ RUN pecl install redis-stable \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
&& docker-php-ext-install zip && docker-php-ext-install zip
...@@ -36,15 +36,3 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ...@@ -36,15 +36,3 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \ php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \
rm composer-setup.php rm composer-setup.php
RUN apk add --no-cache supervisor
RUN mkdir -p "/etc/supervisor/logs"
ADD conf/supervisord_worker.conf /etc/supervisor/supervisord.conf
WORKDIR "/var/www/html"
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]
...@@ -3,7 +3,7 @@ user www-data; ...@@ -3,7 +3,7 @@ user www-data;
worker_processes auto; worker_processes auto;
worker_rlimit_nofile 51200; worker_rlimit_nofile 51200;
#error_log logs/error.log; error_log logs/error.log;
#error_log logs/error.log notice; #error_log logs/error.log notice;
#error_log logs/error.log info; #error_log logs/error.log info;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论