No description
Find a file
2024-08-06 12:26:28 +00:00
.forgejo/workflows Bump forgejo-release to v2 2024-08-06 12:26:28 +00:00
.gitignore Bumped warren-bank/serve to newest version for security reasons 2024-06-20 18:34:12 +02:00
Dockerfile Switched to alpine and changed versioning 2024-07-16 20:16:45 +02:00
README.md Switched to alpine and changed versioning 2024-07-16 20:16:45 +02:00

website-serve Docker Image

This is a simple node:22-alpine based Docker Image with the serve fork of @warren-bank already preinstalled. It can be used to serve static files like websites.

Usage

To use the serve process, run the following CMD at the end of your own docker image:

CMD [ "serve", DIRECTORY, "-p", PORT ]

Replace the values for DIRECTORY and PORT accordingly.

It is recommended to include a serve.json file inside the DIRECTORY.
The syntax for this can be found here