feat(docker): enable containerization of marketplace scraper

Introduce Dockerfile with production build using Bun, .dockerignore for efficient builds, and docker-compose.yml for easy local and prod deployment on port 3000.
This commit is contained in:
2025-10-03 08:31:28 -04:00
parent fa7ac59c45
commit ea0a69ccd6
3 changed files with 192 additions and 0 deletions

15
docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
marketplace-scraper:
build: .
ports:
- "4005:4005"
environment:
- NODE_ENV=production
- PORT=4005
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4005/api/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
restart: unless-stopped