Skip to content

Commit

Permalink
running the action using python and not uv
Browse files Browse the repository at this point in the history
  • Loading branch information
lnxpy committed Nov 22, 2024
1 parent 6bef93f commit e99112c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyaction/action_template/{{action_slug}}/Dockerfile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
4 changes: 2 additions & 2 deletions test_action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit e99112c

Please sign in to comment.