diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4ac088b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# Use an official Python runtime as a parent image +FROM python:3.9-slim + +# Install system dependencies including ffmpeg +RUN apt-get update && apt-get install -y --no-install-recommends \ + ffmpeg \ + build-essential \ + && rm -rf /var/lib/apt/lists/* + +# Set environment variables for litellm API key and model (users can override these) +ENV LITELLM_API_KEY="" +ENV MODEL_NAME="mistral-small-latest" + +# Set working directory +WORKDIR /app + +# Copy the current directory contents into the container at /app +COPY . . + +# Install Python dependencies +RUN pip install --no-cache-dir -r requirements.txt + +# Expose port 5000 for the Flask server +EXPOSE 5000 + +# Command to run the Flask server +CMD ["python", "vibe/main.py", "--serve"] \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..d948cd0 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,67 @@ + + +
+ +Enter your interests below to generate a summary MP3 of the latest Computer Science research articles.
+ +Processing your request, please wait...
+