From 1e3acc202e00065717750064bc77c01c05153b56 Mon Sep 17 00:00:00 2001 From: Severin Buhler Date: Tue, 7 Jul 2026 09:08:49 +0200 Subject: [PATCH 1/2] feat!: Use ENTRYPOINT instead of CMD in the Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fade6b7e5..6f662a15b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,7 @@ ARG BUILD_TARGET=testnet RUN apk add --no-cache ca-certificates # Copy the compiled binary from the builder stage -COPY --from=builder /usr/src/app/target/release/pubky-$BUILD_TARGET /usr/local/bin/homeserver +COPY --from=builder /usr/src/app/target/release/pubky-$BUILD_TARGET /usr/local/bin/pubky-homeserver # Set the working directory WORKDIR /usr/local/bin @@ -63,5 +63,5 @@ WORKDIR /usr/local/bin # Expose the port the homeserver listens on (should match that of config.toml) EXPOSE 6287 -# Set the default command to run the binary -CMD ["homeserver"] +# Run the binary by default and pass docker run arguments to it. +ENTRYPOINT ["homeserver"] From 061876ddc41ea363efcb0c812528e9aff64a8311 Mon Sep 17 00:00:00 2001 From: Severin Buhler Date: Tue, 7 Jul 2026 09:10:54 +0200 Subject: [PATCH 2/2] entrypoint to pubky-homeserver --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6f662a15b..c53524ba5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,4 +64,4 @@ WORKDIR /usr/local/bin EXPOSE 6287 # Run the binary by default and pass docker run arguments to it. -ENTRYPOINT ["homeserver"] +ENTRYPOINT ["pubky-homeserver"]