gperdomor / nx-tools

Nx Workspaces builders and tools
MIT License
360 stars 56 forks source link

Dockerfile couldn't be found #1158

Closed ArcanusMagnus closed 2 weeks ago

ArcanusMagnus commented 2 weeks ago

@nx-tools/nx-container version 6.1.0, nx version 20.0.7

Hello,

After migrating NX and nx-tools to newer version, our target container couldn't find the Dockerfile in any project anymore.

Turned out that we had to specify

file": "{projectRoot}/Dockerfile",

in each project.json. This value was a default previously.

Is it intended? If not, might be a problem with our configuration, but also a possible bug.

gperdomor commented 2 weeks ago

@ArcanusMagnus Hi... It's not intended, the bug is caused by removal of deprecated things in Nx 20... It's fixed in 6.1.1 😄