From e99112c17c2d25be093f724477a00d790f97c4b7 Mon Sep 17 00:00:00 2001 From: Sadra Yahyapour Date: Fri, 22 Nov 2024 18:46:26 +0330 Subject: [PATCH] running the action using `python` and not `uv` --- pyaction/action_template/{{action_slug}}/Dockerfile.jinja | 4 ++-- test_action/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyaction/action_template/{{action_slug}}/Dockerfile.jinja b/pyaction/action_template/{{action_slug}}/Dockerfile.jinja index 821c379..4580d4a 100644 --- a/pyaction/action_template/{{action_slug}}/Dockerfile.jinja +++ b/pyaction/action_template/{{action_slug}}/Dockerfile.jinja @@ -19,5 +19,5 @@ RUN uv pip install . --system # running the post-script.sh RUN [ -f post-script.sh ] && sh post-script.sh || true -# Specify the command to run main.py with uv -CMD [ "uv", "run", "/action/main.py" ] +# Specify the command to run the main.py +CMD [ "python", "/action/main.py" ] diff --git a/test_action/Dockerfile b/test_action/Dockerfile index 2452be1..13b4dd6 100644 --- a/test_action/Dockerfile +++ b/test_action/Dockerfile @@ -19,5 +19,5 @@ RUN uv pip install . --system # Running the post-script.sh RUN [ -f post-script.sh ] && sh post-script.sh || true -# Specify the command to run main.py with uv -CMD [ "uv", "run", "/action/main.py" ] +# Specify the command to run the main.py +CMD [ "python", "/action/main.py" ]