cicd_evaluation_prompt / Dockerfile.txt
jaothan's picture
Upload 4 files
ab094b5 verified
raw
history blame contribute delete
423 Bytes
# Use Python base image
FROM python:3.8
# Set working directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Run evaluation before deploying
RUN python evaluate_prompts.py
# If evaluation passes, launch Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]