diff --git a/data/Docker/Dockerfile b/data/Docker/Dockerfile
index 2809a2c..7415436 100644
--- a/data/Docker/Dockerfile
+++ b/data/Docker/Dockerfile
@@ -2,9 +2,9 @@
 
 # install php extensions
 RUN apt-get update
-RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev
+RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev
 RUN rm -rf /var/lib/apt/lists/*
-RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
+RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr --with-jpeg-dir=/usr
 RUN docker-php-ext-install -j$(nproc) gd
 
 #CMD ["php-fpm"]