-
I'm trying to combine the next.js example with the rules_docker with the e2e/ example, and I'm running into an issue. I've created an example repo with a new folder with my attempt: https://github.com/pwalker/bazel-examples/tree/main/next.js_docker. There's 1 big difference between the pnpm workspace setup and the main next.js example, and that's where I've moved the next.js dependency from the monorepo root into the apps/alpha package.json. I've also removed the individual build files from the I think the import bit is the
Based on the layout I'm seeing in Without a
And when I try to set the workdir to the folder that has the
From what I can tell, all the files it needs are in the image. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, big LOL on this one. Just after I typed this all up, I realized it was right in front of me. In this line of the output with the workdir, it doesn't look like I'm passing the
I changed my container_image rule to include it, and it seems to work!
Closing as solved! |
Beta Was this translation helpful? Give feedback.
OK, big LOL on this one. Just after I typed this all up, I realized it was right in front of me. In this line of the output with the workdir, it doesn't look like I'm passing the
start
argument to the next CLI:I changed my container_image rule to include it, and it seems to work!