File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22FROM python:3.11-slim AS build
33COPY --from=ghcr.io/astral-sh/uv:0.8.21 /uv /uvx /bin/
44ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
5- COPY pyproject.toml spectre_utils /opt
6- RUN --mount=type=cache,target=/root/.cache/uv \
7- cd /opt/ &&\
5+ COPY pyproject.toml spectre_utils/ /opt
6+ COPY spectre_utils/ /opt/spectre_utils
7+ RUN cd /opt/ &&\
88 uv sync --no-install-project --no-dev
9- RUN --mount=type=cache,target=/root/.cache/uv \
10- cd /opt/ &&\
11- uv sync --frozen --no-dev
129FROM python:3.11-slim AS runtime
1310ENV PATH="/opt/.venv/bin:$PATH"
1411COPY --from=build /opt /opt
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version = "0.0.1"
88authors = [
99 { name =" Joe Schoonover" , email =" joe@fluidnumerics.com" },
1010]
11- description = " Tools for computing spectra of fluids in irregular geometry "
11+ description = " Tools for setting up ensemble simulations with the MITgcm for the Spectre project "
1212readme = " README.md"
1313requires-python = " >=3.11"
1414classifiers = [
You can’t perform that action at this time.
0 commit comments