update docker node

This commit is contained in:
Alexander Wang 2024-08-01 17:34:41 -06:00
parent 94cb7ff775
commit 74a71938cb
No known key found for this signature in database
GPG key ID: BE3937D0D52D8927

View file

@ -5,9 +5,9 @@ ARG TARGETARCH
RUN apt-get update && apt-get install -y ca-certificates curl dumb-init sudo
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash -s - && \
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -s - && \
apt-get install -y nodejs
RUN npx playwright@1.31.1 install --with-deps chromium
RUN npx playwright@1.45.3 install --with-deps chromium
RUN adduser --gecos '' --disabled-password debian \
&& echo "debian ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/nopasswd