Replies: 1 comment 3 replies
-
Hey @nandanrao — yep. I believe there are a few Dockerfiles in the Discussions, as well as a few on our Discord, but we'll add to our docs with an official version. This has to do with your Node modules - the error that you're seeing is because your app is using multiple copies of React - but I'm not sure exactly why. Others have seen this problem though and it's just an NPM / React issue. I will convert this to a discussion, but check out the file above! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation Issue
I'm trying to understand how to deploy a version of Payload. I've got a Dockerfile that seems reasonable based on the docs and the package.json:
But I end up with frontend that fails with a minified react error:
Which expands to:
Version 1.1.1
May I suggest a working Dockerfile would be a nice way to explain how the build is supposed to work in a reproducible manner?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions