Skip to content

Commit

Permalink
chromedp build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaki-admin committed Nov 11, 2024
1 parent d1c7246 commit 65204a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ RUN go mod download
RUN cd /backendBuild/backend-server/ && \
go build -o backend_cmd -ldflags="-s -w " main.go

FROM alpine:latest
#FROM alpine:latest
FROM docker.io/chromedp/headless-shell:latest
RUN apt install dumb-init

COPY --from=build /backendBuild/backend-server/backend_cmd /usr/bin/backend_cmd

ENTRYPOINT ["/usr/bin/backend_cmd"]

0 comments on commit 65204a7

Please sign in to comment.