refactor: remove playwright dependencies from Dockerfiles

This commit is contained in:
Nawaz Dhandala
2025-12-17 12:38:53 +00:00
parent 60b2ee0b45
commit 7ebbfb062a
3 changed files with 1 additions and 15 deletions

View File

@@ -38,9 +38,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil
# Install python
RUN apt-get update && apt-get install -y .gyp python3 make g++
# Install playwright dependencies
RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
@@ -62,8 +59,6 @@ ENV PRODUCTION=true
WORKDIR /usr/src/app
RUN PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0 npx playwright install --with-deps
# Install app dependencies
COPY ./IncomingRequestIngest/package*.json /usr/src/app/
RUN npm install

View File

@@ -37,9 +37,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil
# Install python
RUN apt-get update && apt-get install -y .gyp python3 make g++
# Install playwright dependencies
RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
@@ -58,11 +55,10 @@ COPY ./Common /usr/src/Common
ENV PRODUCTION=true
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
WORKDIR /usr/src/app
RUN npx playwright install --with-deps
# Install app dependencies
COPY ./ProbeIngest/package*.json /usr/src/app/
RUN npm install

View File

@@ -38,9 +38,6 @@ RUN apt-get install bash -y && apt-get install curl -y && apt-get install iputil
# Install python
RUN apt-get update && apt-get install -y .gyp python3 make g++
# Install playwright dependencies
RUN apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libgtk-3-0 libpango-1.0-0 libcairo2 libgdk-pixbuf2.0-0 libasound2 libatspi2.0-0
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
@@ -62,8 +59,6 @@ ENV PRODUCTION=true
WORKDIR /usr/src/app
RUN PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0 npx playwright install --with-deps
# Install app dependencies
COPY ./ServerMonitorIngest/package*.json /usr/src/app/
RUN npm install