Last active
January 10, 2023 12:26
-
-
Save R3quest/a48630ed6578ef83f8307e1ce260d6ed to your computer and use it in GitHub Desktop.
Laravel Vapor Dockerfile - FFMPEG library, mysql client, GMP extension and custom php.ini file
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 laravelphp/vapor:php81 | |
# installing ffmpeg and mysql client, | |
# gmp library is needed for gmp extension to work | |
RUN apk --update add ffmpeg mysql-client gmp-dev | |
# installing php extensions -> gmp extension | |
RUN docker-php-ext-install gmp | |
# copy local php.ini file to /usr/local/etc/php/conf.d/overrides.ini | |
COPY ./php.ini /usr/local/etc/php/conf.d/overrides.ini | |
# place application in Lamda application directory... | |
COPY . /var/task |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment