Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmithabandari authored Feb 27, 2025
1 parent 5e24910 commit 0efff0f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM node:20.17

# Ensure dependencies are installed before Chrome
RUN apt-get update && apt-get install -y \
# Ensure the system is updated
RUN apt-get update && apt-get upgrade -y

# Install required system dependencies
RUN apt-get install -y \
wget \
curl \
libgbm-dev \
Expand All @@ -13,9 +16,11 @@ RUN apt-get update && apt-get install -y \
libappindicator3-1 \
libayatana-appindicator3-1 \
python3 \
python3-pip && \
pip3 install --upgrade jinja-cli && \
apt-get clean && rm -rf /var/lib/apt/lists/*
python3-pip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Install Jinja CLI via pip
RUN pip3 install --no-cache-dir jinja-cli

# Install Google Chrome with proper dependency handling
RUN wget -q -O /tmp/google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
Expand Down

0 comments on commit 0efff0f

Please sign in to comment.