Sign inSign up

copia/lima

By copia

•Updated almost 6 years ago

Docker containers for running Lima CMS instances

Image
0

2.8K

copia/lima repository overview

⁠What is Lima?

Lima is a PHP CMS written and used by Copia Digital⁠

⁠How to use this image.

⁠With Command Line

For Lima projects run through the command line interface (CLI), you can do the following.

⁠Create a Dockerfile in your Lima project
FROM copia/lima:5.6-apache
COPY . /usr/src/lima

Then, run the commands to build and run the Docker image:

$ docker build -t my-lima-app .
$ docker run -it --name my-running-app my-lima-app
⁠Making changes (in development)

To use your native IDE, and see the changes instantly on the docker version, mount your Lima directory as a volume on run. From the root project folder, you would run:

$ docker run -it --name my-running-app -v "$PWD":/usr/src/lima copia/lima:5.6-apache

⁠Run a single PHP script

For many tasks, like updating packages or running phing, it is easier to use the image. In such cases, you can run a command by using the Docker image directly:

$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/lima copia/lima:5.6-apache composer install

⁠With Docker Compose

Take a look at our sample docker-compose.yml files for each version, for getting an instance of Lima set up with MYSQL too.

Tag summary

Content type

Image

Digest

Size

227.8 MB

Last updated

almost 6 years ago

docker pull copia/lima:7.3-apache