/luya-docker-php-cli

A LUYA docker image for running commands on CLI

Primary LanguageDockerfile

LUYA Logo

LUYA DOCKER CLI

Run commands inside application

docker run --rm -v $(pwd):/app luyadev/luya-docker-php-cli health

Where health is the command to run in LUYA.

Use docker-compose

When working with custom images, it might be helpfull to have a cli tool to run the LUYA commands, therfore add the luya cli docker image to your services list.

luya_cli:
  image: luyadev/luya-docker-php-cli
    volumes: 
      - ./:/app

In order to run commands use docker-compose run luya_cli <COMMAND>.