-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
# Use Python 3.10 as base image since it's specified in the pylint workflow
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy project files
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Create necessary directories as specified in generate.py
RUN mkdir -p cache/data/graphgen cache/logs
# Set environment variables (these will need to be provided at runtime)
ENV SYNTHESIZER_MODEL=""
ENV SYNTHESIZER_BASE_URL=""
ENV SYNTHESIZER_API_KEY=""
ENV TRAINEE_MODEL=""
ENV TRAINEE_BASE_URL=""
ENV TRAINEE_API_KEY=""
# Default command to run the web interface
CMD ["python", "webui/app.py"]
# Expose the default Gradio port
EXPOSE 7860
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request