diff --git a/Dockerfile b/Dockerfile index 6e3332a..5c95bcc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,6 @@ USER root RUN apt-get update && \ apt-get install -y libgbm-dev xvfb -USER pptruser - COPY --from=builder /app/dist /dist ADD --chmod=777 entrypoint.sh /entrypoint.sh diff --git a/src/run.ts b/src/run.ts index 5324793..a1a86dc 100644 --- a/src/run.ts +++ b/src/run.ts @@ -22,9 +22,9 @@ export async function run( headless: false, executablePath: chrome_path, args: [ - // `--no-sandbox`, + `--no-sandbox`, // `--headless` - // `--disable-setuid-sandbox`, + `--disable-setuid-sandbox`, `--disable-gpu`, `--disable-dev-shm-usage`, ],