Merge pull request #1 from Ashes47/patch-1

Create docker-compose.yaml
This commit is contained in:
Anuj Verma 2024-09-30 19:44:58 +05:30 committed by GitHub
commit d75fc56a51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

15
docker-compose.yaml Normal file
View File

@ -0,0 +1,15 @@
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

0
screenshots/.gitkeep Normal file
View File