Create docker-compose.yaml

This commit is contained in:
Anuj Verma 2024-09-30 19:40:13 +05:30 committed by GitHub
parent a91599a936
commit 228a2f3aca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
docker-compose.yaml Normal file
View File

@ -0,0 +1,18 @@
version: '3.8'
services:
reader:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- screenshots:/app/screenshots
environment:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable"
command: node build/server.js
volumes:
screenshots: