-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 787 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 787 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
30
31
32
33
34
FROM python:3.11-slim
WORKDIR /app
# Install system deps needed by sentence-transformers
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc g++ && \
rm -rf /var/lib/apt/lists/*
# Copy requirements first for layer caching
COPY requirements-slim.txt .
RUN pip install --no-cache-dir -r requirements-slim.txt
# Copy application code
COPY main.py .
COPY core/ core/
COPY scripts/ scripts/
COPY dashboard/ dashboard/
COPY pipeline/ pipeline/
COPY decision_engine/ decision_engine/
COPY sim/ sim/
COPY watched_docs/ watched_docs/
# Create data directories
RUN mkdir -p demo_data metrics
# Expose ports: dashboard + Pathway RAG
EXPOSE 5050 8765
# Entrypoint
COPY docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh
ENTRYPOINT ["./docker-entrypoint.sh"]