From dcca4c43c2cae2a088a993efddf7b18aedaf96d4 Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Mon, 2 Sep 2019 07:13:58 +0000
Subject: [PATCH] Update Dockerfile

---
 Dockerfile | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5f60f3e..45939e4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,6 @@
-FROM nginx
-
-RUN apt -y update && apt -y install php-fpm ca-certificates zip php7.3-mbstring php7.3-dom php7.3-zip php7.3-curl
+FROM open-source/proxy/php-fpm:latest
 
 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
 EXPOSE 80
-- 
GitLab