File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ FROM base AS pathways-tpu
100
100
101
101
ARG EXTRAS=
102
102
103
+ RUN uv pip install debugpy && uv cache clean
104
+ EXPOSE 5678
103
105
RUN uv pip install --prerelease=allow .[core,pathways-tpu] && uv cache clean
104
106
RUN if [ -n "$EXTRAS" ]; then uv pip install .[$EXTRAS] && uv cache clean; fi
105
107
COPY . .
Original file line number Diff line number Diff line change @@ -471,6 +471,7 @@ def _build_container(self) -> Nested[Any]:
471
471
dict (containerPort = 8080 ), # Port for MXLA coordinator.
472
472
dict (containerPort = 8431 ), # Port to export TPU runtime metrics.
473
473
dict (containerPort = self ._load_balancer .target_port ), # Port for load balancer.
474
+ dict (containerPort = 5678 ), # Port for debugger.
474
475
],
475
476
securityContext = dict (privileged = True ),
476
477
# TODO(markblee): Improve SIGTERM behavior for command.
You can’t perform that action at this time.
0 commit comments