mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: remove playwright dependencies from Dockerfiles
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user