No description
Find a file
Firq b05388db50
All checks were successful
/ release (push) Successful in 8s
/ build (push) Successful in 1m48s
Updated workflow
2023-12-29 13:06:40 +01:00
.forgejo/workflows Updated workflow 2023-12-29 13:06:40 +01:00
Dockerfile first iteration of serve docker 2023-12-21 15:30:43 +01:00
README.md Updated README 2023-12-29 13:05:18 +01:00

website-serve Docker Image

This is a simple node:lts 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