PROSTLE commited on
Commit
a6ce46f
·
1 Parent(s): 598d6b3

fix: reorder Dockerfile COPY to include project source for uv sync

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -21,18 +21,18 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
21
  ENV PATH="/root/.local/bin:${PATH}"
22
 
23
  # Copy all metadata and manifests
24
- COPY pyproject.toml uv.lock openenv.yaml ./
25
 
26
- # Sync dependencies (this creates a .venv we'll use)
27
- RUN uv sync --no-dev
28
-
29
- # Copy the code
30
  COPY backend/ /app/backend/
31
- COPY frontend/ /app/frontend/
32
  COPY server/ /app/server/
 
33
  # Root-level entry points required by the OpenEnv grader
34
  COPY inference.py /app/inference.py
35
 
 
 
 
36
  # Expose the port
37
  EXPOSE 8000
38
 
 
21
  ENV PATH="/root/.local/bin:${PATH}"
22
 
23
  # Copy all metadata and manifests
24
+ COPY pyproject.toml uv.lock openenv.yaml README.md ./
25
 
26
+ # Copy the source code (required for uv project sync)
 
 
 
27
  COPY backend/ /app/backend/
 
28
  COPY server/ /app/server/
29
+ COPY frontend/ /app/frontend/
30
  # Root-level entry points required by the OpenEnv grader
31
  COPY inference.py /app/inference.py
32
 
33
+ # Sync dependencies (this now includes the project itself)
34
+ RUN uv sync --no-dev
35
+
36
  # Expose the port
37
  EXPOSE 8000
38