Skip to content

Commit

Permalink
User root user so can access gh files
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbell26 committed Jul 4, 2024
1 parent fc2244b commit a9ed854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
],
Expand Down

0 comments on commit a9ed854

Please sign in to comment.