-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 694 Bytes
/
Dockerfile
File metadata and controls
29 lines (20 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Use smaller slime image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install system dependencies (basic ones)
RUN apt-get update && apt-get install -y gcc
# Install Poetry
RUN pip install poetry
# Copy project files
COPY pyproject.toml poetry.lock* /app/
# Configure poetry to not use venv (container is already isolated)
RUN poetry config virtualenvs.create false
# Install dependencies
RUN poetry install --no-interaction --no-ansi
# Copy the source code
COPY . /app
# Set PYTHONPATH to root so modules resolve correctly
ENV PYTHONPATH=/app
# Default command: Run the Omnibus Agent
CMD ["python", "Tier-3-Evaluation-and-Safety/100-Final-Omnibus-Agent/src/main.py"]