Skip to content

Use with docker

Andrea de Ruvo edited this page Dec 11, 2024 · 4 revisions

Building from GitHub Container Registry

docker pull ghcr.io/genpat-it/spread:latest
docker run -d -p 3000:8080 --name spread ghcr.io/genpat-it/spread:latest

You can surf the spread instance by visiting http://<IP_ADDRESS_OR_HOSTNAME>:3000 in your web browser.

Building from Source

To build the Docker image from the source code, follow these steps:

  1. Clone the repository:
git clone https://github.com/genpat-it/spread
  1. Navigate to the cloned directory:
cd spread
  1. Build the Docker image using the provided Dockerfile. You can also specify the port using the PORT build argument:
docker build . -t spread --build-arg PORT=3000
  1. Once the image is built, you can run the Docker container:
docker run -d spread

This will expose the application running inside the container on port 3000 of your host machine.

Clone this wiki locally