PHP Classes

File: ops/docker/prod/php-fpm/Dockerfile

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   Ala PHP API Micro-Framework   ops/docker/prod/php-fpm/Dockerfile   Download  
File: ops/docker/prod/php-fpm/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ala PHP API Micro-Framework
Generate base code for API using a query builder
Author: By
Last change: fixing mandatory lumen folders
Date: 5 months ago
Size: 819 bytes
 

Contents

Class file image Download
ARG PHP_VERSION=8.3-rc-fpm FROM php:${PHP_VERSION} RUN apt update \ && apt upgrade -y \ && apt install zip unzip git -y RUN docker-php-ext-install mysqli pdo pdo_mysql \ && docker-php-ext-enable pdo_mysql RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer COPY ./ops/docker/prod/php-fpm/newrelic-php5-9.21.0.311-linux.tar.gz /usr/src RUN tar -xvf /usr/src/newrelic-php5-9.21.0.311-linux.tar.gz -C /usr/src && \ mkdir /etc/init.d && \ export NR_INSTALL_SILENT=true && \ cd /usr/src/newrelic-php5-9.21.0.311-linux && \ ./newrelic-install install && \ cp /etc/init.d/newrelic-daemon /usr/local/bin && \ rm -rf /usr/src/newrelic-php5-9.21.0.311-linux.tar.gz COPY . /var/www/html WORKDIR /var/www/html EXPOSE 9000 CMD ["php-fpm"]