Skip to content

Instantly share code, notes, and snippets.

@cwhite92
Created April 28, 2017 21:52
Show Gist options
  • Save cwhite92/a0c392478fcc2cc24ace29a7d99a26af to your computer and use it in GitHub Desktop.
Save cwhite92/a0c392478fcc2cc24ace29a7d99a26af to your computer and use it in GitHub Desktop.
PHP 7.1 Artisan Dockerfile
FROM php:7.1-cli
RUN apt-get update && apt-get install -y libmcrypt-dev
RUN docker-php-ext-install pdo_mysql mbstring mcrypt
RUN usermod -u 1000 www-data
WORKDIR /var/www/html
ENTRYPOINT ["php", "artisan"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment