From 551c35a6661aec56f9610ca6c4eef7cb9a2b3eb0 Mon Sep 17 00:00:00 2001 From: voorhs Date: Sun, 1 Mar 2026 11:56:39 +0300 Subject: [PATCH] use absolute imports --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f22fa7d..d8c14c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,8 @@ FROM alpine:latest WORKDIR /app # Copy the built binary from the builder stage -COPY --from=builder /app/server ./ +COPY --from=builder /app/server /app # The container will by default pass '/app' as the allowed directory if no other command line arguments are provided -ENTRYPOINT ["./server"] +ENTRYPOINT ["/app/server"] CMD ["/app"]