Created
April 28, 2017 21:52
-
-
Save cwhite92/a0c392478fcc2cc24ace29a7d99a26af to your computer and use it in GitHub Desktop.
PHP 7.1 Artisan 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.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