Skip to content

Instantly share code, notes, and snippets.

@takuya
Created January 9, 2018 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takuya/2a0d07409c2d73d21b7edfea92a78e86 to your computer and use it in GitHub Desktop.
Save takuya/2a0d07409c2d73d21b7edfea92a78e86 to your computer and use it in GitHub Desktop.
FROM php:7.2.1-fpm-alpine3.7
MAINTAINER takuya-1st
ENV creator=takuya
COPY ./php-fpm.conf /usr/local/etc/php-fpm.d/zzz-99-.$creator.conf
RUN mkdir -p /usr/local/var/run/php-fpm
VOLUME /usr/local/var/run/php-fpm
VOLUME /var/www/html
CMD ["php-fpm"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment