Merged in feature/common-images (pull request #51)
common images * common images resolve commit with --rebase * Remove bitbucket-pipelines.yml.orig Approved-by: Rachit Bhargava
This commit is contained in:
committed by
Rachit Bhargava
parent
4783d97a46
commit
53b1c63251
15
Dockerfile
15
Dockerfile
@@ -1,16 +1,3 @@
|
||||
FROM wyveo/nginx-php-fpm:php74
|
||||
RUN mkdir -p /var/lib/nginx/cache /usr/share/nginx/subdomain; cd /usr/share/nginx/subdomain ; mkdir www
|
||||
FROM 716593996126.dkr.ecr.us-east-1.amazonaws.com/common-images:nginx-php-fpm-php74-v02
|
||||
COPY wp/ /usr/share/nginx/subdomain/www
|
||||
COPY ngx_http_cache_purge_module.so /usr/lib/nginx/modules/
|
||||
RUN sed -i 's/;pm.status_path/pm.status_path/g' /etc/php/7.4/fpm/pool.d/www.conf
|
||||
RUN sed -i -e '1iload_module modules/ngx_http_cache_purge_module.so;\' /etc/nginx/nginx.conf
|
||||
RUN rm /etc/php/7.4/fpm/php.ini
|
||||
RUN rm /etc/php/7.4/cli/php.ini
|
||||
COPY php.ini /etc/php/7.4/cli/php.ini
|
||||
COPY php.ini /etc/php/7.4/fpm/php.ini
|
||||
RUN chmod +xw /etc/php/7.4/cli/php.ini
|
||||
RUN chmod +xw /etc/php/7.4/fpm/php.ini
|
||||
COPY redinessprobe-wp.sh /root/redinessprobe-wp.sh
|
||||
RUN chmod +x /etc/nginx/conf.d/default.conf /root/redinessprobe-wp.sh
|
||||
RUN chmod +xw -R /usr/share/nginx/
|
||||
#USER nginx
|
||||
|
||||
Reference in New Issue
Block a user