Install python + increase yarn install timeout

(cherry picked from commit 4e70e1621e7c44dc5e3c51edd0b5f3577b846eed)
This commit is contained in:
ChrisCarini 2024-02-29 08:10:07 -08:00 committed by ChrisCarini
parent 64fbcb3f7d
commit 761f9dab81
No known key found for this signature in database
GPG Key ID: 10EF0C1E57D5957E

View File

@ -16,7 +16,7 @@ RUN apt-get update -qq --fix-missing && \
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
apt-get update -qq && \
apt-get -qqy --no-install-recommends install chromium traceroute && \
apt-get -qqy --no-install-recommends install chromium traceroute python make g++ && \
rm -rf /var/lib/apt/lists/*
# Run the Chromium browser's version command and redirect its output to the /etc/chromium-version file
@ -30,7 +30,7 @@ COPY package.json yarn.lock ./
# Run yarn install to install dependencies and clear yarn cache
RUN apt-get update && \
yarn install --production && \
yarn install --production --frozen-lockfile --network-timeout 100000 && \
rm -rf /app/node_modules/.cache
# Copy all files to working directory