install composer in dockerfile
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
install composer in dockerfile
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Composer install with dockerfile
version: '3.7'
services:
#...other services
composer_installation:
container_name: composer_installation
image: composer
volumes:
- ./YOUR-PROJECT/:/app
command: sh -c "composer install --ignore-platform-reqs && cp .env.example .env && php artisan key:generate"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us