Skip to main content
Version: Next

Building pryzm feeder Using Docker

The pryzm feeder binary can also be built using a Dockerfile, which provides a reproducible and isolated build environment. This guide outlines the steps required to build the pryzm feeder binary using the provided Dockerfile.

Prerequisites

Before proceeding with the build process, ensure that the following prerequisites are met:

Dockerfile

To build the pryzm feeder binary using Docker, follow these steps:

  1. Open a terminal and clone the repository:

    $ git clone https://github.com/pryzm-finance/pryzm-feeder.git
    $ cd pryzm-feeder
  2. Ensure that you are on the correct branch or tag, if applicable:

    $ git checkout v0.4.1
  3. Open a terminal and navigate to the directory containing the Dockerfile.

  4. Build the Docker image using the following command:

    $ docker build -t pryzm-feeder:v0.4.1 .

    This command will build a Docker image with the tag pryzm feeder:v0.4.1. The build process may take some time, depending on your system and the size of the project.

    Alternatively, you can use the pnpm command to build a Docker image:

    $ pnpm dockerize
  1. After the image is built successfully, you can run a container using the built image:

    $ docker run -it pryzm-feeder

    Note: If you need to pass any command-line arguments or bind-mount directories to the container, refer to the Docker documentation for the appropriate command syntax.