FROM python:3.12
RUN pip install poetry
WORKDIR /app
COPY . /app
RUN poetry install
ENTRYPOINT ["poetry", "run", "gunicorn", "-c", "gunicorn_config.py", "wsgi:app", "--bind", "0.0.0.0:5000"]