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 0efff0f commit f0cb4f8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM node:20.17

# Ensure the system is updated
RUN apt-get update && apt-get upgrade -y

# Install required system dependencies
RUN apt-get install -y \
# Ensure dependencies are installed before Chrome
RUN apt-get update && apt-get install -y \
wget \
curl \
libgbm-dev \
Expand All @@ -13,11 +10,10 @@ RUN apt-get install -y \
fonts-liberation \
xdg-utils \
libasound2 \
libappindicator3-1 \
libayatana-appindicator3-1 \
python3 \
python3-pip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
libappindicator3-1 || apt-get install -y libayatana-appindicator3-1 \
&& apt-get install -y python3-pip \
&& pip3 install --upgrade jinja2-cli \
&& apt-get clean

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

0 comments on commit f0cb4f8

Please sign in to comment.