fix: upgrade Node 18 to 22 and fix Puppeteer compatibility
- Switch from Alpine to Debian slim for correct Chromium architecture
(fixes ARM/Apple Silicon support)
- Upgrade Puppeteer 21 to 24, use system Chromium via PUPPETEER_EXECUTABLE_PATH
- Replace removed page.waitForTimeout() with setTimeout
- Set NODE_ENV=production in Dockerfile to prevent pino-pretty import
- Improve error logging with Pino's { err: error } pattern
- Add build: . to docker-compose for local development builds
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
pdga-ratings:
|
||||
build: .
|
||||
image: ghcr.io/shcizo/pdga-rating:latest
|
||||
container_name: pdga-ratings
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user