diff --git a/README.md b/README.md index d7f32b0..82b26aa 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,8 @@ For development: The easiest way to get the registry running is to use `docker compose`. This will setup the MCP Registry service, import the seed data and run MongoDB in a local Docker environment. ```bash -# Build the Docker image -docker build -t registry . - # Run the registry and MongoDB with docker compose -docker compose up +docker compose up --build ``` This will start the MCP Registry service and MongoDB with Docker, exposing it on port 8080. diff --git a/docker-compose.yml b/docker-compose.yml index 02d9a32..7c7dae5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,8 @@ services: registry: image: registry container_name: registry + build: + dockerfile: Dockerfile links: - mongodb depends_on: