I want to create a Single Docker Container with PHP Image & Apache Image, here is my dockerfile.
Docker File Name: single-container.dockerfile
# PHP image from docker hub
FROM php:7.2-cli
# Apache image from docker hub
FROM httpd:2.4
# public-html is path for my local codebase
COPY ./public-html/ /usr/local/apache2/htdocs/
In docker CLI when I run this command: docker build -f single-container.dockerfile . -t mysinglecontainer:latest
I'm getting below error.
Please advice, what are the changes needs to modify?