Skip to content
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

Update Dockerfile #32299

Merged
merged 3 commits into from
Dec 12, 2021
Merged

Update Dockerfile #32299

merged 3 commits into from
Dec 12, 2021

Conversation

abzr1
Copy link
Contributor

@abzr1 abzr1 commented Dec 8, 2021

Update Dockerfile to match Next.js docs.

Update `Dockerfile` to match [Next.js docs](https://nextjs.org/docs/deployment#docker-image).
@ijjk ijjk added the examples Issue/PR related to examples label Dec 8, 2021
@@ -1,20 +1,20 @@
# Install dependencies only when needed
FROM node:14-alpine AS deps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be good to update the docs to point to this example file so we aren't duplicating this, what do you think @molebox?

Also we should probably keep the node version locked by default so it doesn't change and break dependencies unexpectedly

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new deployment docs remove the Dockerfile code and point directly to the example: #32006

Would appreciate reviews there!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we should probably keep the node version locked by default so it doesn't change and break dependencies unexpectedly

looks like the node version has been removed unintentionally

@kodiakhq kodiakhq bot merged commit e63322f into vercel:canary Dec 12, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants