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 + ``` + + +