Answers for "docker compose composer install"

21

install docker compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Posted by: Guest on April-06-2020
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 "docker compose composer install"

Python Answers by Framework

Browse Popular Code Answers by Language