I am encountering an issue while trying to run the docker image. I am unable to access it and keep getting a permission denied error, as shown below.
#base image
FROM selenium/standalone-chrome
# Install Node.js
RUN sudo apt-get update
RUN sudo apt-get install --yes curl
RUN curl --silent --location https://deb.nodesource.com/setup_8.x | sudo bash
#Define runtime
ENTRYPOINT /app/login.test.js
Why am I getting a permission denied error? P.S: I have switched to the directory that contains both the Dockerfile and automation test JS files using (cd dir
).