diff options
| author | _Tradam <[email protected]> | 2025-09-17 20:24:00 +0900 |
|---|---|---|
| committer | _Tradam <[email protected]> | 2025-09-17 20:24:00 +0900 |
| commit | d3a7e0fad06b93cdb2828e3d8c30db341b780f38 (patch) | |
| tree | eb2a29f7a76eb2609cade5ca7570e6e6db34482a /php.dockerfile | |
| parent | 213fb58da23d3c58b6924a1b96b6322c6d775e3e (diff) | |
| download | wordpress-docker-d3a7e0fad06b93cdb2828e3d8c30db341b780f38.tar.gz wordpress-docker-d3a7e0fad06b93cdb2828e3d8c30db341b780f38.zip | |
Diffstat (limited to 'php.dockerfile')
| -rw-r--r-- | php.dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/php.dockerfile b/php.dockerfile index 2a7db45..f7cd346 100644 --- a/php.dockerfile +++ b/php.dockerfile @@ -5,3 +5,11 @@ RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mys RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar RUN chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp + +WORKDIR /var/www/html + +COPY entrypoint.sh /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/entrypoint.sh + +ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] +CMD ["php-fpm"] |
