@flydotio/dockerfile
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -276,3 +276,3 @@ import fs from 'node:fs' | ||
if (this.bunVersion) { | ||
install += ' --production' | ||
install += ' --ci' | ||
} | ||
@@ -311,3 +311,3 @@ } | ||
} else if (this.bunVersion) { | ||
prune = 'rm -rf node_modules && \\\n bun install --production' | ||
prune = 'rm -rf node_modules && \\\n bun install --ci' | ||
} else { | ||
@@ -314,0 +314,0 @@ prune = 'npm prune --omit=dev' |
{ | ||
"name": "@flydotio/dockerfile", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Dockerfile generator", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -32,2 +32,3 @@ ## Overview | ||
* `--dev` - include `devDependencies` in the production image. | ||
* `--distroless` - use [distroless](https://github.com/GoogleContainerTools/distroless) base image to reduce image size | ||
@@ -34,0 +35,0 @@ * `--ignore-scripts` - do not execute any scripts defined in the project `package.json` and its dependencies. |
40923
72