Merge pull request #7 from Ashes47/main

Add a simple docker compose yaml
This commit is contained in:
intergalacticalvariable 2024-09-30 17:42:21 +02:00 committed by GitHub
commit 008e00940b
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/local-storage
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