Apparently something has changed and /run/php now exists. Maybe a package adds it.
This commit is contained in:
parent
bca35e1bbe
commit
6b17d133ed
1 changed files with 6 additions and 6 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -111,17 +111,17 @@ RUN apt-get -qq update && \
|
|||
echo "clear_env=no" >> /etc/php/$PHP_VERSION/fpm/php-fpm.conf; \
|
||||
echo "clear_env=no" >> /etc/php/$PHP_VERSION/fpm/pool.d/www.ini; \
|
||||
fi && \
|
||||
mkdir /run/php && \
|
||||
mkdir -p /run/php && \
|
||||
rm -fr /var/www/html && \
|
||||
ln -s /app /var/www/html && \
|
||||
# Move nginx configuration into place
|
||||
mv /conf/NginxDefault /etc/nginx/sites-enabled/default && \
|
||||
# Create runit service directories
|
||||
mkdir /etc/service/nginx \
|
||||
/etc/service/php-fpm \
|
||||
/etc/service/logs-nginx-access \
|
||||
/etc/service/logs-nginx-error \
|
||||
/etc/service/logs-phpfpm-error && \
|
||||
mkdir -p /etc/service/nginx \
|
||||
/etc/service/php-fpm \
|
||||
/etc/service/logs-nginx-access \
|
||||
/etc/service/logs-nginx-error \
|
||||
/etc/service/logs-phpfpm-error && \
|
||||
# Copy our new service runits into location
|
||||
mv /conf/nginx.runit /etc/service/nginx/run && \
|
||||
mv /conf/php-fpm.runit /etc/service/php-fpm/run && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue