build: 添加无头浏览器dockerfile
This commit is contained in:
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
headless-shell:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "9222:9222"
|
||||
command: >
|
||||
--disable-gpu
|
||||
--no-sandbox
|
||||
--remote-debugging-address=0.0.0.0
|
||||
--remote-debugging-port=9222
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user