Sign inSign up

malitta/lumen

By malitta

Updated over 5 years ago

Lightweight image for serving a Lumen app over HTTP/HTTPS.

Image
3

1.5K

malitta/lumen repository overview

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.

Docker Automated buil Docker Pulls

Contains

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

  • PHP extensions
    • mcrypt
    • mbstring

Usage

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.3-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.

Tag summary

Content type

Image

Digest

Size

175.2 MB

Last updated

almost 7 years ago

docker pull malitta/lumen