Skip to content

Commit d3ef42b

Browse files
committed
Use JSON syntax for Dockerfile CMD
Avoids warning: - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 15)
1 parent 41efd4d commit d3ef42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/_proto/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN uv add "protobuf<4"
1212
RUN uv sync --all-extras
1313
RUN poe gen-protos
1414

15-
CMD cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new
15+
CMD ["sh", "-c", "cp -r ./temporalio/api/* /api_new && cp -r ./temporalio/bridge/proto/* /bridge_new"]

0 commit comments

Comments
 (0)