Sign inSign up

ustclug/openresty

By ustclug

Updated about 5 years ago

Image
Security
API management
Web servers
0

603

ustclug/openresty repository overview

[gpt-4] # ustclug/openresty Docker Image

Overview

"ustclug/openresty" is a Docker image based on OpenResty, a dynamic web platform based on NGINX and LuaJIT. It's intended to serve high-performance web applications with efficient integrated Lua scripting capabilities.

Features

  • Pre-configured with the OpenResty, a robust, scalable, and resource-efficient web application platform
  • Offers an environment capable of executing Lua scripting
  • Ready for immediate deployment and scalable for traffic-intensive apps

Usage

To pull the "ustclug/openresty" Docker image, use the following command line expression:

docker pull ustclug/openresty

To run a container instance of the "ustclug/openresty" Docker image, use the following command:

docker run -d -p 80:80 ustclug/openresty

This will start the container in detached mode and map port 80 of the container to port 80 of the host machine.

Building a Docker Container

To build a Docker container using the "ustclug/openresty", create a Dockerfile and include the necessary configurations and commands. Here's a basic example:

FROM ustclug/openresty

COPY ./app /app

WORKDIR /app

CMD ["openresty", "-g", "daemon off;"]

Save this file, then run docker build . -t myapp to create a Docker image labeled "myapp".

Learn More

Check OpenResty's official documentation for specific information on working with OpenResty: https://openresty.org/en/

Please note that this Docker image is designed for use in production environments, and as such, should be used accordingly.

Tag summary

Content type

Image

Digest

Size

109.5 MB

Last updated

about 5 years ago

docker pull ustclug/openresty:light-fat