shuffle puppeteer no-sandbox flag around
This commit is contained in:
parent
400b840e55
commit
e413b191be
2 changed files with 5 additions and 10 deletions
|
|
@ -1,6 +1,10 @@
|
|||
module.exports = {
|
||||
launch: {
|
||||
headless: process.env.CI === "true",
|
||||
args: [
|
||||
// https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md#what-if-i-dont-have-root-access-to-the-machine-and-cant-install-anything
|
||||
'--no-sandbox',
|
||||
],
|
||||
},
|
||||
server: {
|
||||
command: `npm run start:${process.env.NODE_ENV}`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue