chore(devcontainer): move playwright to its own devcontainer service (#756)

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-07-05 04:53:45 +00:00 committed by GitHub
parent 93bfe910d8
commit 890f21bf47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 60 deletions

View file

@ -1,4 +1,13 @@
services:
playwright:
image: mcr.microsoft.com/playwright:v1.52.0-noble
init: true
network_mode: service:workspace
command:
- /bin/sh
- -c
- npx -y playwright@1.52.0 run-server --port 9001 --host 0.0.0.0
valkey:
image: valkey/valkey:8
pull_policy: always
@ -9,8 +18,6 @@ services:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
cache_from:
- "type=registry,ref=ghcr.io/techarohq/anubis/devcontainer"
volumes:
- ../:/workspace/anubis:cached
environment: