Dockerfile 522 B

1234567891011121314151617181920212223
  1. FROM php:7.3-apache
  2. RUN apt-get update
  3. RUN apt-get install -y \
  4. curl \
  5. nano
  6. RUN docker-php-ext-install opcache \
  7. && docker-php-ext-install pdo \
  8. && docker-php-ext-install pdo_mysql
  9. COPY $PWD/build/docker/apache/app_php.ini /usr/local/etc/php/conf.d/app_php.ini
  10. COPY $PWD/build/docker/apache/apache.conf /etc/apache2/sites-available/foodgame.fr.conf
  11. RUN a2dissite foodgame.fr foodgame.fr-ssl
  12. RUN a2ensite foodgame.fr
  13. RUN a2enmod ssl
  14. COPY $PWD /var/www/index.html
  15. WORKDIR /var/www/index.html
  16. EXPOSE 80