Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 |
-
|
| 29 |
-
RUN
|
|
|
|
|
|
|
| 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
|