us-dop-scrapper/Dockerfile
2024-12-02 15:13:52 -04:00

12 lines
406 B
Docker

FROM golang:latest
ARG BINAME=crawler-linux-arm64-0.0.0_1
RUN go run github.com/playwright-community/playwright-go/cmd/playwright@v0.4001.0 install --with-deps
#RUN go run github.com/playwright-community/playwright-go/cmd/playwright@v0.4001.0 install --with-deps
#RUN playwright install --with-deps
RUN make build
RUN ls
COPY ./bin/${BINAME} /usr/bin/crawler
RUN mkdir /app
WORKDIR /app
ENTRYPOINT crawler