Skip to content

Enable hyphenation in Docker container

Fred Chasen requested to merge docker-hyphens into main

This enables hyphenation with Puppeteer on Linux (in Docker containers) by including the hyphenation data that would normally be downloaded after the browser is idle for a while.

Loading this hyphenation data isn't possible with the default puppeteer version of Chrome for Testing, so the Dockerfile was updated to use playwright to install a version of Chromium that will work.

Merge request reports