docker build . -t php-apache
Jump to navigation
Jump to search
docker build . -t php-apache-app FROM php:apache COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "php", "./index.php" ]
docker run php-apache Hello World!We are learning PHP!%
Related
php:apache image
See also
Advertising: