sreepathi-ravikumar commited on
Commit
68a45ea
·
verified ·
1 Parent(s): 997e5d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -22,11 +22,11 @@ COPY . .
22
 
23
  # Install Rust + Python + maturin earlier...
24
 
25
- # Build the Python extension
26
- RUN maturin build --release --manifest-path sample_rust/Cargo.toml
27
 
28
- # Install the generated wheel
29
- RUN pip install target/wheels/*.whl
 
 
30
 
31
  # Install Python dependencies
32
  RUN pip install -r requirements.txt
 
22
 
23
  # Install Rust + Python + maturin earlier...
24
 
 
 
25
 
26
+
27
+ RUN maturin build --release --manifest-path sample_rust/Cargo.toml
28
+ RUN ls -l target/wheels/ # Debug: list wheels
29
+ RUN pip install $(find target/wheels -name "*.whl" | head -n 1)
30
 
31
  # Install Python dependencies
32
  RUN pip install -r requirements.txt