You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
Currently, the Dockerfile uses a base image that leads to a significantly large Docker image. Switching to a lighter base image like node:18-alpine can help reduce the image size substantially without sacrificing functionality.
Suggestion:
I recommend updating the Dockerfile to use node:18-alpine as the base image. This image is much smaller in size and should still support all the functionalities we currently have, since your Dockerfile is quite straightforward and doesn't use any commands specific to the larger standard Node image.
Benefits:
Faster build and deployment times.
Reduced storage costs.
Smoother scaling operations.
Proposed Changes:
Update line two in the Dockerfile to:
FROM node:18-alpine as build
Update line 9 to:
FROM node:18-alpine as run
Please consider this change for the upcoming releases.
The text was updated successfully, but these errors were encountered:
Issue:
Currently, the Dockerfile uses a base image that leads to a significantly large Docker image. Switching to a lighter base image like
node:18-alpine
can help reduce the image size substantially without sacrificing functionality.Suggestion:
I recommend updating the
Dockerfile
to usenode:18-alpine
as the base image. This image is much smaller in size and should still support all the functionalities we currently have, since your Dockerfile is quite straightforward and doesn't use any commands specific to the larger standard Node image.Benefits:
Proposed Changes:
Update line two in the Dockerfile to:
Update line 9 to:
Please consider this change for the upcoming releases.
The text was updated successfully, but these errors were encountered: