Skip to content

keganlester/vapor-dockerfiles

 
 

Repository files navigation

Vapor Dockerfiles Using Debian

See Laravel Vapor documentation on how to use a docker based runtime:

In oder to use this image use the following in your environment dockerfile:

FROM denizp/vapor:php81-buster

COPY . /var/task

Puppeteer and spatie/browsershot

Vapor environment dockerfile

FROM denizp/vapor:php81-buster-puppeteer

COPY . /var/task

Chromium Arguments

Tested and it works with the following Chromium arguments.

no-sandbox
single-process
disable-dev-shm6-usage
disable-gpu
no-zygote
$browsershot = new Browsershot('');
$browsershot
    ->noSandbox()
    ->waitUntilNetworkIdle();

if (app()->environment() !== 'local') {
    $browsershot->addChromiumArguments([
        'single-process',
        'disable-dev-shm6-usage',
        'disable-gpu',
        'no-zygote'
    ]);
}

Dockerhub

https://hub.docker.com/repository/docker/denizp/vapor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 82.1%
  • Shell 13.8%
  • PHP 4.1%