Public | Automated Build

Last pushed: 4 months ago
Short Description
Lightweight image for serving a Lumen app over HTTP/HTTPS.
Full Description

Docker Lumen Base Image

Lightweight image containing the bare necessities for running a Lumen app over HTTP/HTTPS. This is intended to be used as a base image for your app specific Dockerfiles. Read this for a quick introduction on how this image can be extended to suit your app.


This is an extension of malitta/php-base. In addition, this image contains:

  • PHP extensions
    • mcrypt
    • mbstring


Extending the Dockerfile

Create a Dockerfile and add other dependencies that your app requires. See here for addons that you can use if you are planning to have a seperate Dockerfile for development.

FROM malitta/lumen

RUN apt-get install -y php7.0-pgsql    

COPY . /var/www/

Running a container

Run the following command from the root of your application directory

docker run -dit -p 8080:80 -v $(pwd):/var/www --name mywebapp malitta/lumen

Visit localhost:8080 from the browser and you should see your application.

Docker Pull Command
Source Repository