# syntax=docker/dockerfile:1

FROM python:3.12.2-slim-bookworm

RUN apt-get update && apt-get upgrade -y

COPY . .

RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install -r requirements.txt

WORKDIR ./app

CMD ["python3", "-u", "app.py"]
