petter2025 commited on
Commit
5d8fb38
·
verified ·
1 Parent(s): fc6d3ff

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -1,11 +1,7 @@
1
  FROM python:3.10.16-slim
2
 
3
- # Install git and other build dependencies
4
- RUN apt-get update && apt-get install -y \
5
- git \
6
- && rm -rf /var/lib/apt/lists/*
7
 
8
- # Verify Python version
9
  RUN python --version
10
 
11
  WORKDIR /app
@@ -14,6 +10,12 @@ COPY requirements.txt .
14
  RUN pip install --no-cache-dir --upgrade pip && \
15
  pip install --no-cache-dir -r requirements.txt
16
 
 
 
 
 
 
 
17
  COPY . .
18
 
19
  CMD ["python", "app.py"]
 
1
  FROM python:3.10.16-slim
2
 
3
+ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
 
 
 
4
 
 
5
  RUN python --version
6
 
7
  WORKDIR /app
 
10
  RUN pip install --no-cache-dir --upgrade pip && \
11
  pip install --no-cache-dir -r requirements.txt
12
 
13
+ # --- Temporary patch: add missing event.py ---
14
+ # Determine site-packages path and copy the file
15
+ RUN mkdir -p /usr/local/lib/python3.10/site-packages/agentic_reliability_framework/core/models
16
+ COPY event.py /usr/local/lib/python3.10/site-packages/agentic_reliability_framework/core/models/
17
+ # --- End patch ---
18
+
19
  COPY . .
20
 
21
  CMD ["python", "app.py"]