polymers 0.3.7

Polymers Modeling Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
FROM julia:1.9.1 as julia
FROM python:3.11
WORKDIR /
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
COPY . .
RUN pip install --no-cache-dir maturin && \
    maturin build --all-features --release && \
    pip install --no-cache-dir target/wheels/*.whl
COPY --from=julia /usr/local/julia/ /opt/julia/
ENV PATH "${PATH}:/opt/julia/bin"
RUN julia -e 'using Pkg; Pkg.develop(path="."); Pkg.build("Polymers")'