diff --git a/Dockerfile b/Dockerfile index 6a5d49c..ab9f2be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ SHELL ["conda", "run", "-n", "sr2silo", "/bin/bash", "-c"] # Copy the current directory contents into the container at /app COPY . /app -# Build the Rust project -RUN cd silo-input-transformer && cargo build --release +# Build the Rust project as a Python extension +RUN cd silo_input_transformer && maturin develop --release # Install the sr2silo package RUN pip install -e . diff --git a/environment.yml b/environment.yml index ec2b552..a69961f 100644 --- a/environment.yml +++ b/environment.yml @@ -10,3 +10,4 @@ dependencies: - pydantic - click - rust + - maturin