From a84f3d8618ae2888fa6c26a37e5611340708e569 Mon Sep 17 00:00:00 2001 From: Gregory Bell Date: Wed, 3 Jul 2024 16:33:53 -0600 Subject: [PATCH] Change to root user --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index dc85129..0cc8ce8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN npm run bundle FROM ghcr.io/puppeteer/puppeteer:22.10.0 AS dist +USER root + RUN apt-get install -y libgbm-dev xvfb COPY --from=builder /app/dist /dist