Difference between revisions of "Docker run php"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
+
* https://hub.docker.com/_/php
  
 
  [[FROM]] php:8.2-cli
 
  [[FROM]] php:8.2-cli
Line 6: Line 6:
 
  [[WORKDIR]] /usr/src/myapp
 
  [[WORKDIR]] /usr/src/myapp
 
  [[CMD]] [ "php", "./your-script.php" ]
 
  [[CMD]] [ "php", "./your-script.php" ]
 +
 +
== Related ==
 +
* [[docker build .]]
 +
  
 
== See also ==
 
== See also ==

Latest revision as of 20:15, 6 February 2024

Advertising: