-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix(node): Docker generator should work #23452
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 367a5ab. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
Also fixes the unit tests for node package closes: #23365
5fe0c3d
to
367a5ab
Compare
Also fixes the unit tests for node package ## Currently When you generate a docker file using either the node generator or the node:setup-docker generator using inferred targets would create the DockerFile but the COPY command would be incorrect. It would resemble something similar to ``` //... COPY acme //etc... ``` ## Expected Now it generates the correct command. ``` //... COPY dist/acme acme/ //etc... ``` closes: #23365 (cherry picked from commit 1b7cf42)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Also fixes the unit tests for node package
Currently
When you generate a docker file using either the node generator or the node:setup-docker generator using inferred targets would create the DockerFile but the COPY command would be incorrect.
It would resemble something similar to
Expected
Now it generates the correct command.
closes: #23365