From dfa4b156e96ed9ef0b94d4a8fa469ee467c28840 Mon Sep 17 00:00:00 2001 From: Artur Mukhamadiev Date: Mon, 26 Jan 2026 00:33:14 +0300 Subject: [PATCH] [docker] verified and corrected --- Dockerfile | 10 ++++------ README.md | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca7609b..1362117 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y \ pkg-config \ cmake \ ca-certificates \ + libunwind-dev \ && rm -rf /var/lib/apt/lists/* # Set working directory @@ -31,10 +32,7 @@ COPY . . RUN meson setup build && \ meson compile -C build -# Expose the default port (can be changed in config.yaml) -EXPOSE 8080 - -# Run the server by default +# Run the cli by default # We assume the config.yaml is in the root /app or we copy it. -# The build output is in build/src/cloud_point_rpc_server -CMD ["./build/src/cloud_point_rpc_server", "config.yaml"] +# The build output is in build/src/cloud_point_rpc_cli +CMD ["./build/src/cloud_point_rpc_cli", "config.yaml"] diff --git a/README.md b/README.md index 23a1079..0e6ef2d 100644 --- a/README.md +++ b/README.md @@ -52,5 +52,5 @@ docker run --network host cloud-point-rpc **Custom Configuration:** You can mount your own `config.yaml` to override the default settings: ```bash -docker run -p 8080:8080 -v $(pwd)/my_config.yaml:/app/config.yaml cloud-point-rpc +docker run --network=host -it -v $(pwd)/my_config.yaml:/app/config.yaml cloud-point-rpc ```