cleanup file structure, dockerize app

This commit is contained in:
KS Jannette
2026-05-19 03:37:56 -04:00
parent 4042ba87f5
commit 8cfde57cab
18 changed files with 262 additions and 98 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
api:
build:
context: .
args:
APP_VERSION: ${APP_VERSION:-dev}
ports:
- "${API_PORT:-3000}:3000"
env_file:
- .env
environment:
API_PORT: "3000"
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://127.0.0.1:3000/health"]
interval: 10s
timeout: 3s
retries: 3
start_period: 5s