Difference between revisions of "Docker build . -t php-apache"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  CMD [ "php", "./your-script.php" ]
 
  CMD [ "php", "./your-script.php" ]
  
 
+
== Related ==
  [[php:apache]]
+
  [[php:apache]] image
  
 
== See also ==
 
== See also ==

Revision as of 20:45, 6 February 2024

FROM php:apache
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "php", "./your-script.php" ]

Related

php:apache image

See also

Advertising: