Closed eshut closed 2 weeks ago
@eshut is attempting to deploy a commit to the timlrx's projects Team on Vercel.
A member of the Team first needs to authorize it.
@timlrx Please also see #1047 as well
I understand what you are trying to do, but I think my suggested approach of using the official example repo dockerfile results in a better production build with full feature parity and optimised image size. The current proposed solution only targets a static build.
If that's what you are looking for then glad to see it work! However, I would not suggest that as the default docker build. Perhaps I could add a README page for someone who is looking to deploy it via docker, without having to search through the issues or nextjs docs.
Yes @timlrx , thanks. That would be nice to have in README as an alternative
Add Docker Support for Tailwind Next.js Starter Blog
This PR adds Docker support for the Tailwind Next.js Starter Blog, allowing users to easily run and deploy the blog in a containerized environment.
Why This Change
After reviewing Issue #1004, I realized the current documentation lacked guidance on setting up Docker for this project. The solution provided by @timlrx didn’t fully address the issue, and I spent around 4 hours troubleshooting to understand and resolve it.
Changes Made
Dockerfile
for building the Next.js blogBenefits
Related Issue
Closes #1004
Additional Notes
Let me know if there are any adjustments or additional documentation needed. I hope this contribution makes Docker support accessible and reduces troubleshooting time for others!