Skip to content
Snippets Groups Projects
Commit dcca4c43 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update Dockerfile

parent d57e8a95
No related branches found
No related tags found
1 merge request!11Update Dockerfile
FROM nginx FROM open-source/proxy/php-fpm:latest
RUN apt -y update && apt -y install php-fpm ca-certificates zip php7.3-mbstring php7.3-dom php7.3-zip php7.3-curl
COPY . /html COPY . /html
COPY /service-configs/nginx/default.conf /etc/nginx/conf.d/default.conf
RUN sed -i 's/listen.owner = www-data/listen.owner = nginx/g' /etc/php/7.3/fpm/pool.d/www.conf
RUN sed -i 's/listen.group = www-data/listen.group = nginx/g' /etc/php/7.3/fpm/pool.d/www.conf
RUN sed -i 's/user = www-data/user = nginx/g' /etc/php/7.3/fpm/pool.d/www.conf
RUN sed -i 's/group = www-data/group = nginx/g' /etc/php/7.3/fpm/pool.d/www.conf
RUN sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.3/fpm/php.ini
WORKDIR /html WORKDIR /html
EXPOSE 80 EXPOSE 80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment