From f7c0a24696600075ae59e205cebca7fbd484a5f3 Mon Sep 17 00:00:00 2001 From: Jonathan Ingram Date: Tue, 20 Sep 2022 15:49:57 +1000 Subject: [PATCH] docd: fix binary paths (#125) --- docd/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docd/Dockerfile b/docd/Dockerfile index 0361b4f..ccc787b 100644 --- a/docd/Dockerfile +++ b/docd/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.19 AS build WORKDIR /app COPY . ./ -RUN go build ./docd/... +RUN go build -o /bin/docd ./docd ################################################################################ @@ -21,6 +21,6 @@ RUN apt-get update \ EXPOSE 8888 -COPY --from=build /app/docd /docd +COPY --from=build /bin/docd /docd ENTRYPOINT ["/docd"] CMD ["--help"]