Skip to content

Commit 6120302

Browse files
Fix path of spectre_utils helper scripts
1 parent 99905e2 commit 6120302

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
FROM python:3.11-slim AS build
33
COPY --from=ghcr.io/astral-sh/uv:0.8.21 /uv /uvx /bin/
44
ENV 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
129
FROM python:3.11-slim AS runtime
1310
ENV PATH="/opt/.venv/bin:$PATH"
1411
COPY --from=build /opt /opt

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.0.1"
88
authors = [
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"
1212
readme = "README.md"
1313
requires-python = ">=3.11"
1414
classifiers = [

0 commit comments

Comments
 (0)