🐛 Fixing dockerfile with chromium at run
This commit is contained in:
parent
c189681f3f
commit
5723d6d382
@ -72,7 +72,8 @@ export default class AnchoringProofService extends BaseService {
|
||||
*/
|
||||
public async generate(data: AnchoringProofData): Promise<Buffer> {
|
||||
const browser = await puppeteer.launch({
|
||||
headless: 'new',
|
||||
headless: "new",
|
||||
executablePath: `/usr/bin/chromium`,
|
||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user