Answers for "install composer in dockerfile"

0

install composer in dockerfile

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Posted by: Guest on February-09-2021
0

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"
Posted by: Guest on January-02-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language