Skip to content

Instantly share code, notes, and snippets.

@stefpe
Created May 6, 2020 19:18
Show Gist options
  • Save stefpe/10c2a989eedbe94c3260be752e3aac1a to your computer and use it in GitHub Desktop.
Save stefpe/10c2a989eedbe94c3260be752e3aac1a to your computer and use it in GitHub Desktop.
Simplest PHP-FPM Dockerfile
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