Problem starting docker container

I’m trying to start a container from my image, but I get an access error on line 38 in the docker-entrypoint.sh file.

sudo docker run -it --name hw9_ivan2 -p 4000:8080 hw-l9:1
/docker-entrypoint.sh: 38: exec: hw9/result: Permission denied

Tried looking for the docker-entrypoint.sh file to see this 38 line but never found it. How can this be fixed? I am also attaching the Dockerfile code:

FROM python:3.9.6 as build
ENV VAR=80
WORKDIR ./hw9
COPY hw9.py .
RUN python3 hw9.py -o result

FROM nginx:1.21.1
WORKDIR hw9/result
COPY --from=build ./hw9 ./hw9/result

CMD ["./hw9/result"]

I work in WSL Ubuntu on Windows