-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve local container development experience #48815
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Patrice Chalin <[email protected]>
✅ Pull request preview available for checking
To edit notification comments on pull requests, go to your Netlify site configuration. |
These changes don't have much impact on our continuous integration (which happens within Netlify), so: /retitle Improve local container development experience Mainly dropping the leading “[CI]” there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
COPY package.json package-lock.json ./ | ||
RUN npm ci | ||
RUN npm ci --omit=dev | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way we can make this a multistage build and slim down the final image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image is going to be quite big I think. I'm OK with that, but we should note the opportunity to optimize it.
LGTM label has been added. Git tree hash: 35af423e293e446195b14adac31eb3599cdda432
|
Co-authored-by: Tim Bannister <[email protected]>
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
built from
debian:bookworm
netlify.toml
fileHUGO
andHUGO_ARGS
, which supports use cases link invoking a container serve withHUGO_ARGS="--gc"
helping when the serve just hangs.BUILD