From 76a6abc21dbe07799e11b963ca111ced44925554 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 10 Feb 2022 09:40:13 +0100 Subject: [PATCH] fix: set workdir --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 711ea5b..b735d20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,8 @@ RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/ npm install --production && \ npm install --global +WORKDIR /work + +RUN ln -fs /work /workspace + ENTRYPOINT [ "/usr/local/bin/markdownlint" ]