/** * Gets the inner type from a type wrapped in Promise. */ export declare type ThenArg

= P extends Promise ? U : P; /** * Options object accepted by Dockerize. */ export interface DockerizeOptions { /** * Root directory of the project to Dockerize. * * Default: process.cwd() (CLI), `undefined` (API) */ cwd: string; /** * Tag that will be applied to the image. * * Default: */ tag?: string | undefined; /** * Version of NodeJS that will be installed in the container. * * Default: LTS (see nodejs.org) */ nodeVersion?: string | undefined; /** * Ubuntu version to use as a base image. * * Default: 20.10 */ ubuntuVersion?: string | undefined; /** * Additional labels to apply to the image. * * See: https://docs.docker.com/engine/reference/commandline/build/ */ labels?: Array | undefined; /** * Environment variables to set in the image. * * See: https://docs.docker.com/engine/reference/builder/#env */ env?: Array | undefined; /** * Extra command-line arguments to pass to `docker build`. * * See: https://docs.docker.com/engine/reference/commandline/build/ */ extraArgs?: string | undefined; /** * Path to a custom Dockerfile to use. */ dockerfile?: string | undefined; /** * Path to an .npmrc file to use when installing dependencies in the image. * This file will be removed from the final image. */ npmrc?: string | undefined; /** * Whether to run 'docker push' after building an image. * * Note: This option assumes 'docker login' has already been run. */ push?: boolean | undefined; }