Skip to content

Commit

Permalink
Merge pull request #36 from frederik-uni/patch-1
Browse files Browse the repository at this point in the history
switch to chromium
  • Loading branch information
mdervisaygan authored Sep 30, 2024
2 parents 600146e + c39e708 commit b6db93a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ RUN apt-get update && apt-get install -y \
gnupg \
ca-certificates \
apt-transport-https \
chromium \
chromium-driver \
xvfb \
&& rm -rf /var/lib/apt/lists/*

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
&& apt-get update \
&& apt-get install -y google-chrome-stable \
&& rm -rf /var/lib/apt/lists/*
ENV CHROME_BIN=/usr/bin/chromium

WORKDIR /app

Expand All @@ -25,4 +23,4 @@ COPY . .

EXPOSE 3000

CMD ["pm2-runtime", "src/index.js"]
CMD ["pm2-runtime", "src/index.js"]

0 comments on commit b6db93a

Please sign in to comment.