Add multi-stage Dockerfile, docker-compose, and fix insert conflict

Rebuild Dockerfile with 3 stages (CSS, uberjar, runtime) on port 3030.
Add docker-compose.yml loading .env. Fix insert-price! ON CONFLICT to
target (time_dk, price_area) matching the actual unique index.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 12:44:50 +01:00
co-authored by Claude Opus 4.6
parent 4984c1b207
commit 14b583ccb9
3 changed files with 29 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
services:
app:
build: .
ports:
- "3030:3030"
env_file:
- .env
restart: unless-stopped