page_shot / render.yaml
CatPtain's picture
Upload 13 files
e1fd143 verified
raw
history blame
622 Bytes
services:
- type: web
name: page-screenshot-api
env: docker
repo: https://github.com/yourusername/page-shot.git # 替换为你的GitHub仓库
dockerfilePath: ./Dockerfile
envVars:
- key: NODE_ENV
value: production
- key: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
value: "true"
- key: PUPPETEER_EXECUTABLE_PATH
value: "/usr/bin/google-chrome-stable"
healthCheckPath: /
numInstances: 1
plan: free # 明确指定免费计划
buildFilter:
paths:
- "**"
ignoredPaths:
- "node_modules/**"
- ".git/**"