Skip to content

Dockerfile installs old dependencies from locked requirements.txt #56

@dhananjaipai

Description

@dhananjaipai

The Dockerfile seems to pull gemini-webapi 1.8.3 which is very old from the requirements.txt
Fixed it with an updated Dockerfile

FROM python:3.11-slim

ENV POETRY_VIRTUALENVS_CREATE=false \
    POETRY_NO_INTERACTION=1

RUN pip install --no-cache-dir poetry
WORKDIR /app

COPY pyproject.toml poetry.lock ./

RUN poetry install --no-root --only main

COPY . .

EXPOSE 6969

CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "6969", '--log-level', "info"]

This used poetry, and is inline with the README.md

Kindly update/include a better solution since the current containers seem to not allow the gemini-3.0-pro or supported models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions