Created
May 6, 2020 19:18
-
-
Save stefpe/10c2a989eedbe94c3260be752e3aac1a to your computer and use it in GitHub Desktop.
Simplest PHP-FPM Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.4-fpm-alpine | |
RUN docker-php-ext-install opcache | |
# Use the default production configuration | |
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" | |
ADD ./override.ini $PHP_INI_DIR/conf.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment