Kaballas commited on
Commit
a089a6b
·
1 Parent(s): 5e15700
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -16,8 +16,12 @@ RUN curl -LsSO https://r.mariadb.com/downloads/mariadb_repo_setup && \
16
  RUN pip install --no-cache-dir uv==0.1.37
17
 
18
  WORKDIR /app
 
19
  COPY . /app
20
 
 
 
 
21
  # Install project (editable) + FastAPI stack in one layer
22
  RUN uv pip install -e . --system && \
23
  uv pip install fastapi uvicorn[standard] --system
 
16
  RUN pip install --no-cache-dir uv==0.1.37
17
 
18
  WORKDIR /app
19
+ # Copy project files
20
  COPY . /app
21
 
22
+ # Ensure our src/ is on the Python path so our local code is used
23
+ ENV PYTHONPATH=/app/src
24
+
25
  # Install project (editable) + FastAPI stack in one layer
26
  RUN uv pip install -e . --system && \
27
  uv pip install fastapi uvicorn[standard] --system