Fixed captcha issues in the docker environment (#623).

This commit is contained in:
Alex Tselegidis 2020-03-10 20:58:31 +01:00
parent 923d7bd4c4
commit 8a217df0a3

View file

@ -5,6 +5,15 @@ ENV PROJECT_DIR=/var/www/html \
RUN docker-php-ext-install mysqli gettext RUN docker-php-ext-install mysqli gettext
RUN apt-get update -y && apt-get install -y libwebp-dev libjpeg62-turbo-dev libpng-dev libxpm-dev \
libfreetype6-dev
RUN docker-php-ext-configure gd --with-gd --with-webp-dir --with-jpeg-dir \
--with-png-dir --with-zlib-dir --with-xpm-dir --with-freetype-dir \
--enable-gd-native-ttf
RUN docker-php-ext-install gd
COPY ./src $PROJECT_DIR COPY ./src $PROJECT_DIR
COPY docker-entrypoint.sh /docker-entrypoint.sh COPY docker-entrypoint.sh /docker-entrypoint.sh