PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Classes of Ogbemudia Osayawe   PHP Data Structure and Algorithms   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Data Structure and Algorithms
Create and search data structures objects
Author: By
Last change:
Date: 2 years ago
Size: 1,401 bytes
 

Contents

Class file image Download
FROM ubuntu:18.04 LABEL maintainer="Terry Osayawe" ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y software-properties-common RUN apt-get update \ && apt-get install -y gnupg tzdata \ && echo "UTC" > /etc/timezone \ && dpkg-reconfigure -f noninteractive tzdata RUN add-apt-repository ppa:ondrej/php RUN apt-get update \ && apt-get install -y curl zip unzip git supervisor sqlite3 \ nginx php7.4-fpm php7.4-cli \ php7.4-pgsql php7.4-sqlite3 php7.4-gd \ php7.4-curl php7.4-memcached \ php7.4-imap php7.4-mysql php7.4-mbstring \ php7.4-xml php7.4-zip php7.4-bcmath php7.4-soap \ php7.4-intl php7.4-readline php7.4-xdebug \ php-msgpack php-igbinary \ && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && mkdir /run/php \ && apt-get -y autoremove \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ && echo "daemon off;" >> /etc/nginx/nginx.conf RUN ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log ADD docker/default /etc/nginx/sites-available/default ADD docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD docker/php-fpm.conf /etc/php/7.4/fpm/php-fpm.conf ADD docker/init.sh /usr/bin/init RUN chmod +x /usr/bin/init CMD ["init"]