DOCKERFILE
All checks were successful
${{ github.actor }} executed Build Push Prod / build (push) Successful in 12m47s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 20s

This commit is contained in:
maximo tejeda 2024-12-04 10:58:36 -04:00
parent 419cf10fb2
commit fc7d5c71d6

View File

@ -6,7 +6,7 @@ RUN apt update && apt install git
WORKDIR /app
COPY . .
RUN go mod tidy
RUN go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps
RUN go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
RUN go build -o bin/crawler \
-ldflags "-X main.Shortsha=${SHORTSHA} \