From 518a9231297328d03b7a52e4a86f934845bd3953 Mon Sep 17 00:00:00 2001 From: Ron Green <11993626+georgettica@users.noreply.github.com> Date: Mon, 14 Oct 2024 19:57:25 +0200 Subject: [PATCH] add explination on workdir --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 31c75303c..0da17ba31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,5 +77,6 @@ ARG BIN_NAME=typos COPY --from=builder /usr/src/typos/${BIN_NAME} /${BIN_NAME} # Set the entrypoint to the typos binary +# This was done to make the default run not scan the whole container for typos WORKDIR /workdir ENTRYPOINT ["/typos"] \ No newline at end of file