Small refactor of scripts, Dockerfile, and docker-compose to support load balancing, and mutiple replicas. Various fixes related to playwright installation in container environment, static file handling, and etc.

This commit is contained in:
badblocks 2025-05-06 23:14:36 -07:00
parent 9b3b3d099f
commit 2dba19a77e
12 changed files with 109 additions and 127 deletions

9
scripts/rebuild-and-run.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
docker compose down
# run prebuild tasks
./scripts/prebuild.sh
# Build the docker image
docker compose build && docker compose up -d