FROM mcr.microsoft.com/playwright/python:v1.47.0-jammy

LABEL net.unraid.docker.webui="http://[IP]:[PORT:5000]/"
LABEL maintainer="MassPrice Scheduler"

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 5000

CMD ["gunicorn", "--config=gunicorn.conf.py", "app:app"]
