diff --git a/components/consumers/pdf/Dockerfile b/components/consumers/pdf/Dockerfile index 3946bbbef..b2ffb4a6b 100644 --- a/components/consumers/pdf/Dockerfile +++ b/components/consumers/pdf/Dockerfile @@ -1,11 +1,11 @@ FROM golang:latest WORKDIR /playwright -RUN go mod init github.com/ocurity/pdf-consumer &&\ - go get -u github.com/playwright-community/playwright-go &&\ - go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps +RUN go mod init github.com/ocurity/pdf-consumer && \ + go get -u github.com/playwright-community/playwright-go && \ + go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps ENV PATH="${PATH}:/go/pkg/mod/github.com/playwright-community" COPY components/consumers/pdf/pdf /playwright/pdf COPY components/consumers/pdf/default.html /playwright/default.html -ENTRYPOINT ["/playwright/pdf"] \ No newline at end of file +ENTRYPOINT ["/playwright/pdf"]