attempting to make docker package smaller, and take less memory

This commit is contained in:
Amruth Pillai
2022-03-03 20:05:22 +01:00
parent 5fc7a32c67
commit ed6578b052
6 changed files with 190 additions and 235 deletions

View File

@ -5,7 +5,7 @@ import { mkdir, unlink, writeFile } from 'fs/promises';
import { nanoid } from 'nanoid';
import { join } from 'path';
import { PDFDocument } from 'pdf-lib';
import { Browser, chromium } from 'playwright';
import { Browser, chromium } from 'playwright-chromium';
export const DELETION_TIME = 10 * 1000; // 10 seconds