Difference between revisions of "Docker run php"
Jump to navigation
Jump to search
(Created page with " FROM php:8.2-cli COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "php", "./your-script.php" ] == See also == * {{Dockerfile}} * {{PHP}} Category:PHP") |
|||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | |||
+ | |||
FROM php:8.2-cli | FROM php:8.2-cli | ||
COPY . /usr/src/myapp | COPY . /usr/src/myapp | ||
Line 5: | Line 8: | ||
== See also == | == See also == | ||
+ | * {{docker build}} | ||
* {{Dockerfile}} | * {{Dockerfile}} | ||
* {{PHP}} | * {{PHP}} | ||
[[Category:PHP]] | [[Category:PHP]] |
Revision as of 20:14, 6 February 2024
FROM php:8.2-cli COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "php", "./your-script.php" ]
See also
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
- PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)]
Advertising: