nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.36k stars 2.33k forks source link

create-nx-workspace does not generate Dockerfile (node-standalone/nest) #17343

Closed Ionaru closed 2 months ago

Ionaru commented 1 year ago

Current Behavior

No Dockerfile is generated when running the create-nx-workspace command using NestJS as the framework and the --docker option enabled.

Expected Behavior

A Dockerfile should be created, allowing the application to run in docker, OR the --docker option should not be allowed in this configuration and the CLI should not ask whether to generate a Dockerfile when running without the --docker option defined.

image

GitHub Repo

N/A

Steps to Reproduce

  1. Run npx create-nx-workspace@latest new-workspace --nxCloud false --preset node-standalone --framework nest --docker true
  2. Inspect the generated files, no Dockerfile is present.

Nx Report

N/A

Failure Logs

N/A

Operating System

Additional Information

No response

kobyzskyi commented 1 year ago

The same story for macOS.

pde201 commented 1 year ago

Is there an ETA for this bug?

alexmacavei commented 10 months ago

Yep, same issue here.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏

pkimtani commented 3 months ago

Same issue here. Running on MacOS (ARM CPU).

sir-captainmorgan21 commented 2 months ago

Ya same here

github-actions[bot] commented 1 month ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.