add(infra): docker build

This commit is contained in:
maotovisk 2025-08-08 19:04:07 -03:00
parent 5adada0422
commit 84bd8355d6
10 changed files with 79 additions and 303 deletions

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
image: maot-shortner:latest
restart: unless-stopped
ports:
- "3032:8080"
environment:
- DATABASE_PATH=/app/data/shortener.db
- APP_PORT=8080
volumes:
- data:/app/data
volumes:
data: