Describe the bug
The nodejs version needs to be updated since the build fails (and there are spelling errors in the Dockerfile).
The old nodejs version failed to build because it was incompatible with the Alpine repository. In the Dockerfile, the specific version of nodejs used was 16.16.0-r0. However, during the package installation step, when running apk add --no-cache nodejs=16.16.0-r0, the package manager was unable to find and select the required version of nodejs from the repository. This should be bumped to 16.20.1-r0
This failure occurred because the Alpine repository might not have contained the exact version 16.16.0-r0 of nodejs.
To Reproduce
Clone the repository.
Checkout the new-ui branch with the Dockerfile.
Build the Docker image using the command docker build . -t petio.
Expected behavior
The Docker image should be built successfully without any spelling errors, and the nodejs version should be updated to the desired version.
Screenshots
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
The spelling errors in the Dockerfile need to be corrected, and the nodejs version should be bumped to a compatible version to avoid conflicts with the Alpine repository. This will ensure a smooth build process and proper functioning of the application within the Docker container.
Describe the bug The nodejs version needs to be updated since the build fails (and there are spelling errors in the Dockerfile).
The old nodejs version failed to build because it was incompatible with the Alpine repository. In the Dockerfile, the specific version of nodejs used was 16.16.0-r0. However, during the package installation step, when running apk add --no-cache nodejs=16.16.0-r0, the package manager was unable to find and select the required version of nodejs from the repository. This should be bumped to 16.20.1-r0
This failure occurred because the Alpine repository might not have contained the exact version 16.16.0-r0 of nodejs.
To Reproduce
new-ui
branch with the Dockerfile.docker build . -t petio
.Expected behavior The Docker image should be built successfully without any spelling errors, and the nodejs version should be updated to the desired version.
Screenshots
Desktop (please complete the following information): N/A
Smartphone (please complete the following information): N/A
Additional context The spelling errors in the Dockerfile need to be corrected, and the nodejs version should be bumped to a compatible version to avoid conflicts with the Alpine repository. This will ensure a smooth build process and proper functioning of the application within the Docker container.