FROM python:3.13-slim WORKDIR /app COPY requirements.txt requirements.txt RUN apt-get update && apt-get install -y build-essential && \ pip install --upgrade pip && pip install -r requirements.txt COPY . . RUN mkdir -p /app/instance EXPOSE 5583 CMD ["python", "run_waitress.py"]