Skip to content

Commit

Permalink
Merge pull request #111 from siketyan/build/fix-docker-build
Browse files Browse the repository at this point in the history
build: Upgrade composer version
  • Loading branch information
siketyan authored Jun 21, 2023
2 parents d0dd75d + c78e896 commit 914bfa3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ WORKDIR /app

RUN apt update && apt install -y git zip unzip

RUN php -r "copy('https://getcomposer.org/download/2.1.12/composer.phar', 'composer.phar');" \
&& chmod +x ./composer.phar \
&& ./composer.phar install
COPY --from=composer:2.5.5 /usr/bin/composer /usr/bin/composer
RUN composer install -n --no-dev

ENTRYPOINT ["/app/entrypoint.sh"]

0 comments on commit 914bfa3

Please sign in to comment.