diff --git a/Dockerfile b/Dockerfile index 5396825..eb9a0f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,5 @@ RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* WORKDIR /bin COPY --from=builder /app ./htmltest WORKDIR /test -CMD [ "htmltest", "./"] +ENTRYPOINT ["htmltest"] +CMD ["./"] diff --git a/README.md b/README.md index 05a46d7..b3dd423 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ You can also build from sources by cloning this repo and running `sh build.sh`, Mount your directory with html files into the container and test them. If you need more arguments to the test run it like this: -```docker run -v $(pwd):/test --rm wjdp/htmltest htmltest -l 3 -s``` +```docker run -v $(pwd):/test --rm wjdp/htmltest -l 3 -s``` ### Notes