Description: This PR addresses a issues that were preventing the Docker image from building successfully.
before: The build command was not specifying the correct context folder where the Dockerfile and related scripts are located giving error. ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
after: Updated the Docker build command to set the context correctly to the docker directory.
new issue found:
After addressing the above issues, a new error has arisen related to the entry point script. During the build process, Docker throws an error indicating that docker-entrypoint.sh cannot be found.
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref f45fc31b-ef18-4a5f-be2b-7f841a08fbe4::1voajrdg166rvuhs16k60a5b1: "/docker-entrypoint.sh": not found Error: Process completed with exit code 1.
The error message indicates that the Docker build process is unable to find the docker-entrypoint.sh file. Based on the Dockerfile content and the directory structure, it appears that the docker-entrypoint.sh file is in the same directory as the Dockerfile. However, the COPY instruction in the Dockerfile is trying to copy it from the root directory.
would u like me to update the dockerfile with correct path as well? also please add the hacktoberfest-accepted tag if possible
Description: This PR addresses a issues that were preventing the Docker image from building successfully.
before: The build command was not specifying the correct context folder where the Dockerfile and related scripts are located giving error.
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
after: Updated the Docker build command to set the context correctly to the docker directory.
new issue found:
After addressing the above issues, a new error has arisen related to the entry point script. During the build process, Docker throws an error indicating that docker-entrypoint.sh cannot be found.
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref f45fc31b-ef18-4a5f-be2b-7f841a08fbe4::1voajrdg166rvuhs16k60a5b1: "/docker-entrypoint.sh": not found Error: Process completed with exit code 1.
The error message indicates that the Docker build process is unable to find the docker-entrypoint.sh file. Based on the Dockerfile content and the directory structure, it appears that the docker-entrypoint.sh file is in the same directory as the Dockerfile. However, the COPY instruction in the Dockerfile is trying to copy it from the root directory.
would u like me to update the dockerfile with correct path as well? also please add the hacktoberfest-accepted tag if possible