-
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.
- Loading branch information
Alex Gabriel
committed
Oct 21, 2021
1 parent
cfbd9a1
commit e386622
Showing
12 changed files
with
605 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM php:8.0-apache | ||
WORKDIR /var/www/html | ||
COPY composer.* ./ | ||
|
||
RUN apt-get update && apt-get install -y git unzip zip wget | ||
|
||
RUN bash -c "wget https://getcomposer.org/download/2.1.9/composer.phar && php composer.phar install --no-autoloader" | ||
COPY . ./ | ||
RUN bash -c "php composer.phar dump-autoload --no-scripts --ignore-platform-reqs" | ||
|
||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ | ||
RUN install-php-extensions gd pdo_mysql bcmath zip intl opcache | ||
|
||
RUN a2enmod rewrite | ||
|
||
|
||
RUN php artisan key:generate && php artisan jwt:secret | ||
|
||
|
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
Oops, something went wrong.