Skip to content

Commit 13190de

Browse files
author
=
committed
dockerfile added
1 parent 65c26da commit 13190de

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM golang:1.20
2+
3+
WORKDIR /go/src/app
4+
5+
COPY . .
6+
7+
RUN apt-get update && \
8+
apt-get install -y nodejs npm
9+
10+
RUN npm install -g puppeteer-cli
11+
12+
RUN go build -o puppeteer-go
13+
14+
EXPOSE 8080
15+
16+
CMD ["./puppeteer-go"]

0 commit comments

Comments
 (0)