This repository has been archived on 2025-01-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
stream-demo/tools/docker/php/Dockerfile
2020-07-22 10:28:10 +01:00

17 lines
400 B
Docker

FROM php:7.4-fpm
RUN apt-get update \
&& apt-get -yqq install --no-install-recommends \
default-mysql-client \
libpng-dev \
&& apt-get autoremove -y --purge \
&& rm -fr /var/lib/apt/lists/*
RUN docker-php-ext-install gd opcache pdo pdo_mysql
COPY . /srv/app
COPY tools/docker/php/php.ini /usr/local/etc/php/conf.d/php.ini
WORKDIR /srv/app
RUN chown -R www-data: /srv/app