From 271164337fd3e90476c3f43212bd1a815038576f Mon Sep 17 00:00:00 2001 From: kant Date: Tue, 10 Oct 2023 21:19:32 -0700 Subject: [PATCH] exposing grpc port and updating readme with docker instructions --- Dockerfile | 2 +- README.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a6892912..2f1cd60f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY --from=builder /app/config /config COPY --from=builder /app/entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -EXPOSE 13522 13523 +EXPOSE 13522 13523 13524 ENTRYPOINT ["/entrypoint.sh"] diff --git a/README.md b/README.md index 7b614784..c287a002 100644 --- a/README.md +++ b/README.md @@ -70,3 +70,28 @@ OPTIONS: } } ``` + +## Building Docker Image + +To simplify the deployment process, you may utilize Docker to create an isolated environment to run mev-commit. + +- Build the Docker Image: + Navigate to the project root directory (where your Dockerfile is located) and run: + + ``` + docker build -t mev-commit:latest . + ``` +- Running with Docker Compose: + + ``` + docker-compose up --build + ``` + +- Stopping the Service: + + ``` + docker-compose down + ``` + + +