fix: Fix Dockerfile

This commit is contained in:
2026-03-03 20:11:17 +00:00
parent b93d4548d4
commit e25173fe35
2 changed files with 49 additions and 15 deletions

View File

@@ -1,13 +1,12 @@
version: '3.8'
services:
blog:
build: .
ports:
- "3000:3000"
- "8080:3000"
environment:
- PORT=3000
- DATABASE_URL=sqlite:///app/data.db
- DATABASE_URL=sqlite:///app/data/data.db
volumes:
- ./data.db:/app/data.db
- ./data:/app/data
- ./attachments:/app/attachments
restart: always