Docker containers for running Lima CMS instances
2.8K
Dockerfile links [`7.2-apache`, (*php/7.2/apache/Dockerfile*)](https://github.com/CopiaDigital/lima-docker/blob/master/php/7.2/apache/Dockerfile)
[`7.1-apache`, (*php/7.1/apache/Dockerfile*)](https://github.com/CopiaDigital/lima-docker/blob/master/php/7.1/apache/Dockerfile)
7.0-apache, (php/7.0/apache/Dockerfile)5.6-apache, (php/5.6/apache/Dockerfile)5.4-apache, (php/5.4/apache/Dockerfile)Lima is a PHP CMS written and used by Copia Digital
For Lima projects run through the command line interface (CLI), you can do the following.
Dockerfile in your Lima projectFROM 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
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
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
Take a look at our sample docker-compose.yml files for each version, for getting an instance of Lima set up with MYSQL too.
Content type
Image
Digest
Size
227.8 MB
Last updated
almost 6 years ago
docker pull copia/lima:7.3-apache