Skip to content

Commit

Permalink
add explination on workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
georgettica authored Oct 14, 2024
1 parent b6dc92e commit 518a923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 518a923

Please sign in to comment.