Sign inSign up

zopdev/static-server

By zopdev

•Updated 3 months ago

A lightweight solution for serving static files with built-in observability.

Image
Web servers
1

8.8K

zopdev/static-server repository overview

The docker image provides a lightweight and efficient solution for serving static files with minimal configuration and built-in observability powered by the GoFr Framework.

⁠Key Features

Lightweight and Efficient: Designed to serve static content swiftly without unnecessary overhead.

Minimal Configuration: Requires minimal setup, allowing for quick deployment of static websites.

Built-in Observability: Has built-in logs, metrics and traces to track the requests can be visualised using the following dashboard - https://grafana.com/grafana/dashboards/19905-gofr-application-services-monitoring/⁠

⁠Usage

To serve your static files using this image, you can use the following dockerfile:

FROM zopdev/static-server:v0.0.1

# Copy your static files into the 'website' directory
COPY /path/to/your/static/files /website

EXPOSE 8000

CMD ["/main"]

Tag summary

Content type

Image

Digest

sha256:6db0bde27…

Size

24.2 MB

Last updated

almost 2 years ago

docker pull zopdev/static-server