version: '3.8'

services:
  app:
    build:
      context: .
      dockerfile: backend/Dockerfile
    container_name: sale-app
    ports:
      - "8080:8080"
    volumes:
      - ./backend/uploads:/app/uploads
      - ./backend/sale.db:/app/sale.db
    environment:
      - DATABASE_PATH=sale.db
    restart: unless-stopped
