Created
March 6, 2021 13:20
-
-
Save paulinevos/77bbb7027f99185303abcdf03e85b8ba to your computer and use it in GitHub Desktop.
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.4.15 | |
RUN apt-get -y update && apt-get -y upgrade | |
RUN apt-get -y install git libzip-dev zip | |
RUN docker-php-ext-configure zip | |
RUN docker-php-ext-install zip | |
RUN php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php && php composer-setup.php && php -r "unlink('composer-setup.php');" && mv composer.phar /usr/local/bin/composer | |
WORKDIR /app | |
COPY . . | |
RUN composer install | |
CMD ["php", "run.php"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment