diff --git a/Dockerfile b/Dockerfile index eeb6a18..d21b928 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY . . # Install playwright cli with right version for later use RUN PWGO_VER=$(grep -oE "playwright-go v\S+" /app/go.mod | sed 's/playwright-go //g') \ - && go install github.com/playwright-community/playwright-go/cmd/playwright@v1.48.2 + && go install github.com/playwright-community/playwright-go/cmd/playwright@${PWGO_VER} # https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm RUN go build -o bin/crawler \ -ldflags "-X main.Shortsha=${SHORTSHA} \ diff --git a/go.mod b/go.mod index 7c992c6..5d5cc46 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ toolchain go1.23.2 require ( git.maximotejeda.com/maximo/dolar v0.0.1 github.com/nats-io/nats.go v1.37.0 - github.com/playwright-community/playwright-go v0.4802.0 + github.com/playwright-community/playwright-go v0.5001.0 golang.org/x/text v0.20.0 google.golang.org/grpc v1.68.0 )