i have a this dockerfile how can i run the app? Use official Python image FROM…
- User
i have a this dockerfile how can i run the app?
Use official Python image
FROM python:3.12-slim-bookworm COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
Set work directory
WORKDIR /app
Copy genai.py and other needed files
COPY genai.py ./ COPY metadata.json ./ COPY requirements.txt ./ COPY .env ./
Install dependencies using uv
RUN uv pip install --no-cache-dir -r requirements.txt
Default command (can be overridden)
ENTRYPOINT ["uv", "run", "genai.py"] CMD ["--function", "generate_text_to_speech_summary_with_open_source_model", "--source", "audio_transcript_summary_audio.wav", "--output", "audio_transcript_summary_audio.wav.json"]
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.