Sign inSign up

gmesalazar/lapis

By gmesalazar

Updated over 9 years ago

A Lapis image

Image
0

919

gmesalazar/lapis repository overview

Lapis Dockerfile

An image for Lapis, a Web Framework for Lua and MoonScript.

Usage

The application's home is configurable in the docker-entrypoint.sh file; the default is /app.

Assuming the image built from this Dockerfile is tagged gmesalazar/lapis, the command below will run a container exposing port 8080 to the host and mapping our app dir to the container's /app:

docker run -ti -p 8080:8080 -v $PWD/app:/app --user $UID:$GID gmesalazar/lapis

Flag --user $UID:GID makes sure any file created in the container will have the same UID and GID as in the host.

For demonstration purposes, the app directory contains the sources generated by lapis with lapis new --lua.

This image is based on gmesalazar/openresty, which was built from this repository's OpenResty Dockerfile.

Tag summary

Content type

Image

Digest

Size

16.7 MB

Last updated

over 9 years ago

docker pull gmesalazar/lapis