Error /bin/sh: ./ not found

Trying to find some help with an error message when running a docker image build command.


#***Sample Script to build, test and push containerized Node.js applications ***

#build docker image

docker image build -t $HUB_USER/$REPOSITORY:$TAG .

#Run all unit tests

docker container Run $HUB_USER/$REPOSITORY:$TAG npm test

#Login to docker Hub

docker Login -u $HUB_USER -p $HUB_PWD

#Push the image to Docker Hub

docker image push $HUB_USER/$REPOSITORY:$TAG

Container Image file

FROM alpine:latest
RUN apk update $$ apk add docker
WORKDIR /usr/src/app
COPY . .
CMD ./


docker container run --rm --name builder
-v /var/run/docker.sock:/var/run/docker.sock 
-v /c/users/tab45/fod/ch08/sample-app:/usr/src/app 
-e HUB_USER=<> 
-e HUB_PWD=<>@j 
-e repository=ch08-sample-app 
-e TAG=1.0 builder

/bin/sh: ./ not found

Since you “bind mounted” a host folder to /usr/src/app that will not be there, only the files from the host folder. Place your somewhere else in the image or put it also to the host folder you mount.
Also this is not valid syntax, but I guess it was just a typo when you manually typed that line here

$$ should be &&