PHP Classes

File: docker/nginx/Dockerfile

Recommend this page to a friend!
  Classes of Omar Shaban   Clean Architecture in PHP Symfony   docker/nginx/Dockerfile   Download  
File: docker/nginx/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clean Architecture in PHP Symfony
Symfony based application in a Docker container
Author: By
Last change:
Date: 3 years ago
Size: 726 bytes
 

Contents

Class file image Download
FROM centos:latest RUN rpm --import \ /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 \ http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 \ && yum install -y -q epel-release RUN rpm --import https://nginx.org/keys/nginx_signing.key \ && yum install -y -q nginx RUN mkdir /etc/nginx/sites-enabled ADD nginx.conf /etc/nginx/ ADD symfony.conf /etc/nginx/sites-available/ RUN ln -s /etc/nginx/sites-available/symfony.conf /etc/nginx/sites-enabled/symfony RUN echo "root:root" | chpasswd \ && groupadd -r -g 1000 web1 \ && useradd -r -u 1000 -d /home/web1 -m -p \$1\$abc\$z6zw.AIqtpbwKbR78LIWi0 -g web1 web1 \ && ln -s /home/web1/bin/blz.lut2 /etc/blz.lut2 CMD ["nginx"] EXPOSE 80 EXPOSE 443