docker build . -t php-apache

From wikieduonline
Revision as of 20:47, 6 February 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

FROM php:apache
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "php", "./your-script.php" ]
docker run php-apache
Hello World!We are learning PHP!%

Related

php:apache image

See also

Advertising: