Skip to content

Commit

Permalink
Refactor Dockerfile to remove unnecessary command and add execute per…
Browse files Browse the repository at this point in the history
…missions
  • Loading branch information
cedricdcc committed Sep 22, 2024
1 parent e517175 commit 936efd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ FROM cicirello/pyaction:4
# FROM ghcr.io/cicirello/pyaction:4
# FROM ghcr.io/cicirello/pyaction:3

# give permission to execute the entrypoint
RUN chmod +x /entrypoint.py


COPY entrypoint.py /entrypoint.py
COPY requirements.txt /requirements.txt

# echo all files in the current directory
RUN ls -la

# give permission to execute the entrypoint
RUN chmod +x /entrypoint.py

ENTRYPOINT ["/entrypoint.py"]

0 comments on commit 936efd5

Please sign in to comment.