mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 07:37:39 +00:00
feat(docker): add docker and publish images to ghcr (#411)
Co-authored-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user