Skip to content

Commit

Permalink
Formatting pdf Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
andream16 committed Sep 16, 2024
1 parent ffdbfd3 commit b093004
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/consumers/pdf/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
ENTRYPOINT ["/playwright/pdf"]

0 comments on commit b093004

Please sign in to comment.