Hey im having some task to solve will any one help me with this!

Actually i’m having a script file which will have echo “hello” ==> script.sh

and the docker code which i have used is
FROM alpine:latest

Copy the script.sh file into the container

COPY script.sh /app/

Make the script executable

RUN chmod +x /app/script.sh

Set the entrypoint to execute script.sh and keep the container running

ENTRYPOINT [“sh”, “-c”, “/app/script.sh && tail -f /dev/null”]

when i run this script it going to excited state even i have used
CMD [“sh”, “-c”, “/app/script.sh”]

then also its moving to excited state

Please change your topic title to something that allows to understand the issue!
Everyone here is looking for help…

If everyone used titles that don’t describe what the topic is about, no one would know what this topic is about and skip it.