diff --git a/Dockerfile b/Dockerfile index 46ea308..2086d4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ # Container image that runs your code FROM alpine:3.21 +# Set working directory +WORKDIR /usr/src + # Copies your code file from your action repository to the filesystem path `/` of the container -COPY entrypoint.sh /entrypoint.sh +COPY entrypoint.sh /usr/src/entrypoint.sh # Code file to execute when the docker container starts up (`entrypoint.sh`) -ENTRYPOINT ["/entrypoint.sh"] +ENTRYPOINT ["sh", "/usr/src/entrypoint.sh"]