FROM python:3.12-slim
WORKDIR /challenge
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY data ./data
EXPOSE 5000
CMD ["gunicorn","--chdir","app","--bind","0.0.0.0:5000","--workers","1","--threads","8","app:app"]
