Skip to content

Commit 3127f27

Browse files
committed
Installerer chrome dependencies
1 parent 53c04ac commit 3127f27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM node:20-bookworm-slim
22

3+
RUN apt-get update
4+
RUN apt-get --assume-yes --no-install-recommends install chrome && apt-get clean
5+
36
WORKDIR /app
47

58
ENV NODE_ENV=production
69
ENV PUPPETEER_CACHE_DIR=/app/puppeteer
10+
ENV PUPPETEER_TMP_DIR=/tmp
711

812
COPY package*.json .env /app/
913
COPY node_modules /app/node_modules/

0 commit comments

Comments
 (0)