feat(docker): add docker and publish images to ghcr (#411)

Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
VictorV
2020-10-09 14:42:29 -07:00
committed by GitHub
parent e1cae3ed71
commit c857985a6d
8 changed files with 147 additions and 54 deletions
+5
View File
@@ -35,6 +35,11 @@ async function main() {
args.push('--disable-setuid-sandbox');
}
// https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#tips
if (config.docker) {
args.push('--disable-dev-shm-usage');
}
// Add the address of the proxy server if defined
if (config.proxy.address) {
args.push(`--proxy-server=http://${config.proxy.address}:${config.proxy.port}`);