hacktoberfest-projects
hacktoberfest-projects copied to clipboard
Simple implementation of Docker for development and production
Simple implementation of Docker to 'dockerize' the project intended for development (using yarn dev) and production (using yarn build and yarn start). I've used https://github.com/vercel/next.js/tree/canary/examples/with-docker-multi-env as a base for this PR.
The only missing was to update the README.md to incluide the Makefile commands to run the project into Docker
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| hacktoberfest-projects | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 24, 2023 0:43am |
@ppastene Are you working on making the requested changes?
@ppastene Are you working on making the requested changes?
Woah, I've forgot about this. But yeah, I can make it work again and update the README.MD
Someone is attempting to deploy a commit to a Personal Account owned by @max-programming on Vercel.
@max-programming first needs to authorize it.
I'm still working with the pull request, I barely got any time because of my job and being a PR from last year so maybe I need to update the Dockerfiles.
@max-programming Got some news. I've updated the dockerfiles and now it runs on a dev environment including hot reload for editing, and also for production by building the app, copying to a fresh image and run it from there improving the container size and performance. The only problem I have is the app ask me for the xata.io apiKey everytime it builds so for development is not a problem in a first stance but for production next.js will not build without the apiKey.
Is there a chance to run the app without the apiKey?
@ppastene
Yes the app can be run without API key. For production I have set it up on Vercel already.
I'm yet to test the dockerfile but it looks like it'll work
@ppastene sorry for the delay. Can you please fix the conflicts?