FROM python:3.10-slim WORKDIR /app # Instaliraj sistemske dependencies RUN apt-get update && apt-get install -y \ libsqlite3-dev \ # SQLite development headers gcc \ # Za kompilaciju nekih paketa && rm -rf /var/lib/apt/lists/* # Kopiraj requirements prvo (za bolju caching) COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Kopiraj sve fajlove COPY . . CMD ["python", "app.py"]