Skip to content

Instantly share code, notes, and snippets.

@s2krish
Last active September 2, 2022 04:42
Show Gist options
  • Save s2krish/1b89d01a8246c2d4f57cfee844ce29d9 to your computer and use it in GitHub Desktop.
Save s2krish/1b89d01a8246c2d4f57cfee844ce29d9 to your computer and use it in GitHub Desktop.
playwright with AWS EB
# Customizing Amazon Linux 2 to setup playwright
# config file should be in [project_root]/.ebextensions/command.config
packages:
yum:
python3-devel: []
at-spi2-atk: []
cups-devel: []
libxkbcommon: []
libXcomposite: []
libXdamage: []
libXrandr: []
mesa-libgbm: []
pango-devel: []
alsa-lib: []
container_commands:
01_playright_install:
command: "runuser -l webapp -c '/var/app/venv/staging-LQM1lest/bin/python -m playwright install'"
# chromium works only with x8664, not with arm64 processor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment