feat: Add Dockerfile and Docker Compose configuration for containerized deployment and update README with instructions.

This commit is contained in:
2026-03-03 19:19:47 +00:00
parent bfcf45343f
commit b93d4548d4
3 changed files with 91 additions and 0 deletions

13
docker-compose.yml Normal file
View File

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