Skip to content

Commit a57a941

Browse files
committed
Use crosschain top-level dir context for docker build
1 parent e8a255d commit a57a941

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/hip-3-pusher/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ ENV UV_LINK_MODE=copy
1313
# Ensure installed tools can be executed out of the box
1414
ENV UV_TOOL_BIN_DIR=/usr/local/bin
1515

16-
COPY uv.lock .
17-
COPY pyproject.toml .
16+
COPY apps/hip-3-pusher/uv.lock .
17+
COPY apps/hip-3-pusher/pyproject.toml .
1818

1919
# Install the project's dependencies using the lockfile and settings
2020
RUN --mount=type=cache,target=/root/.cache/uv \
21-
--mount=type=bind,source=uv.lock,target=uv.lock \
22-
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
21+
--mount=type=bind,source=apps/hip-3-pusher/uv.lock,target=uv.lock \
22+
--mount=type=bind,source=apps/hip-3-pusher/pyproject.toml,target=pyproject.toml \
2323
uv sync --locked --no-install-project --no-dev
2424

2525
# Then, add the rest of the project source code and install it
2626
# Installing separately from its dependencies allows optimal layer caching
27-
COPY src/ ./src/
28-
COPY config/ ./config/
27+
COPY apps/hip-3-pusher/src/ ./src/
28+
COPY apps/hip-3-pusher/config/ ./config/
2929
RUN --mount=type=cache,target=/root/.cache/uv \
3030
uv sync --locked --no-dev
3131

0 commit comments

Comments
 (0)