10 lines
441 B
Docker
10 lines
441 B
Docker
FROM wyveo/nginx-php-fpm:php74
|
|
RUN mkdir -p /var/lib/nginx/cache /usr/share/nginx/subdomain; cd /usr/share/nginx/subdomain ; mkdir www
|
|
COPY wp/ /usr/share/nginx/subdomain/www
|
|
#RUN rm /etc/nginx/conf.d/default.conf
|
|
#COPY build/default.conf /etc/nginx/conf.d/default.conf
|
|
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
|