Skip to content

Commit

Permalink
added install composer
Browse files Browse the repository at this point in the history
  • Loading branch information
marius.sucevan committed Aug 11, 2022
1 parent ae05e8b commit 838b495
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ RUN apt update \
&& apt install -y zlib1g-dev g++ git libicu-dev zip libzip-dev zip \
&& docker-php-ext-install intl opcache pdo pdo_mysql

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

COPY . /var/www/laravel-swapi-project

WORKDIR /var/www/laravel-swapi-project

RUN composer install

0 comments on commit 838b495

Please sign in to comment.