@leverege/build-tools 2.85.0-beta.5 → 2.85.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -129,8 +129,9 @@ if ( generateDockerfile ) {
|
|
|
129
129
|
dockerInfo = await docker.generateDockerfile( dockerfileOptions )
|
|
130
130
|
debug( { dockerInfo }, '<==The Docker Info' )
|
|
131
131
|
} else if ( !fs.existsSync( './docker/Dockerfile' ) ) {
|
|
132
|
-
dockerInfo = { ...dockerfileOptions }
|
|
133
132
|
errorExit( '***ERROR: docker/Dockerfile does not exist and dockerfile generation is disabled' )
|
|
133
|
+
} else {
|
|
134
|
+
dockerInfo = { ...dockerfileOptions }
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
if ( giveGuidance ) {
|
|
@@ -255,6 +256,7 @@ if ( isNodeJsProject ) {
|
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
if ( isPythonProject ) {
|
|
259
|
+
log( `dockerInfo => ${JSON.stringify( dockerInfo, null, 2 )}` )
|
|
258
260
|
log( `
|
|
259
261
|
${chalk.green.bold( 'Python Docker Information:' )}
|
|
260
262
|
BaseImage: ${chalk.green.bold( dockerInfo.imageBase || `node:${dockerInfo.nodeimage}` )}
|