forked from golevelup/laravel-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(commands): support Lumen projects
Add support for Lumen projects. fix golevelup#8
- Loading branch information
Showing
10 changed files
with
97 additions
and
11 deletions.
There are no files selected for viewing
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
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM php:7.3.6-fpm-stretch | ||
|
||
ARG xdebug=false | ||
|
||
WORKDIR /var/www | ||
|
||
# These are considered sane defaults for the cloud deployments | ||
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \ | ||
PHP_OPCACHE_MAX_ACCELERATED_FILES="100000" \ | ||
PHP_OPCACHE_MEMORY_CONSUMPTION="192" \ | ||
PHP_OPCACHE_MAX_WASTED_PERCENTAGE="10" \ | ||
PHP_XDEBUG_DEFAULT_ENABLE="0" \ | ||
PHP_XDEBUG_REMOTE_ENABLE="0" | ||
|
||
RUN docker-php-ext-install opcache | ||
|
||
# <DB_DRIVERS> | ||
|
||
# Conditionally install the necessary components to allow XDebug | ||
RUN if [ "$xdebug" = "true" ] ; then pecl install xdebug && docker-php-ext-enable xdebug ; else echo Running app without XDEBUG ; fi | ||
|
||
COPY vendor/ ./vendor/ | ||
COPY artisan composer.json composer.lock ./ | ||
|
||
COPY app/ ./app/ | ||
COPY bootstrap/ ./bootstrap/ | ||
COPY database/ ./database/ | ||
COPY public/ ./public/ | ||
COPY resources/ ./resources/ | ||
COPY routes/ ./routes/ | ||
COPY storage/ ./storage/ | ||
|
||
COPY environment/config/php/conf.d/*.ini /usr/local/etc/php/conf.d/ | ||
COPY environment/config/fpm/*.conf /usr/local/etc/php-fpm.d/ | ||
|
||
RUN chmod -R 777 /var/www/storage | ||
RUN chmod -R 777 /var/www/bootstrap | ||
|
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
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
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
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
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
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