# This Dockerfile uses the latest version of the Bitnami PHP-FPM Docker image
#FROM bitnami/php-fpm:latest
FROM webdevops/php-apache:latest

# Copy app's source code to the /app directory
COPY app-code /app

# Copy config php
#COPY app-code/php/php.ini /opt/bitnami/php/etc/
COPY php/php_fpm.ini /etc/php/7.2/fpm/php.ini
COPY php/php.ini /etc/php/7.2/cli/php.ini
COPY php/php.webdevops.ini /opt/docker/etc/php 

# The application's directory will be the working directory
WORKDIR /app
