{"id":19232290,"url":"https://github.com/flexstack/new-dockerfile","last_synced_at":"2025-04-21T04:32:17.856Z","repository":{"id":239797755,"uuid":"800718920","full_name":"flexstack/new-dockerfile","owner":"flexstack","description":"Generate Dockerfiles from your project source code","archived":false,"fork":false,"pushed_at":"2024-05-22T15:43:52.000Z","size":1481,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T16:12:56.538Z","etag":null,"topics":["autogenerate-dockerfile","create-dockerfile","docker","dockerfile","dockerfile-generator","dockerfiles","dockerize"],"latest_commit_sha":null,"homepage":"https://flexstack.com/docs/languages-and-frameworks/autogenerate-dockerfile","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T21:36:38.000Z","updated_at":"2024-08-21T20:40:20.483Z","dependencies_parsed_at":"2024-05-28T00:42:56.589Z","dependency_job_id":"77ac915b-b22c-44fa-89f7-2fb92fe71cbb","html_url":"https://github.com/flexstack/new-dockerfile","commit_stats":null,"previous_names":["flexstack/new-dockerfile"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexstack%2Fnew-dockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexstack%2Fnew-dockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexstack%2Fnew-dockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexstack%2Fnew-dockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexstack","download_url":"https://codeload.github.com/flexstack/new-dockerfile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223640343,"owners_count":17177999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autogenerate-dockerfile","create-dockerfile","docker","dockerfile","dockerfile-generator","dockerfiles","dockerize"],"created_at":"2024-11-09T16:05:53.484Z","updated_at":"2024-11-09T16:05:54.353Z","avatar_url":"https://github.com/flexstack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerfile Generator\n\n`new-dockerfile` is a CLI tool and Go package automatically generates a configurable Dockerfile \nbased on your project source code. It supports a wide range of languages and frameworks, including Next.js, \nNode.js, Python, Ruby, Java/Spring Boot, Go, Elixir/Phoenix, and more.\n\nSee the [FlexStack Documentation](https://flexstack.com/docs/languages-and-frameworks/autogenerate-dockerfile) page for FlexStack-specific documentation\nrelated to this tool.\n\n## Features\n\n- [x] Automatically detect the runtime and framework used by your project\n- [x] Use version managers like [asdf](https://github.com/asdf-vm), nvm, rbenv, and pyenv to install the correct version of the runtime\n- [x] Make a best effort to detect any install, build, and start commands\n- [x] Generate a Dockerfile with sensible defaults that are configurable via [Docker Build Args](https://docs.docker.com/build/guide/build-args/)\n- [x] Support for a wide range of the most popular languages and frameworks including Next.js, Phoenix, Spring Boot, Django, and more\n- [x] Use Debian Slim as the runtime image for a smaller image size and better security, while still supporting the most common dependencies and avoiding deployment headaches caused by Alpine Linux gotchas\n- [x] Includes `wget` in the runtime image for adding health checks to services, e.g. `wget -nv -t1 --spider 'http://localhost:8080/healthz' || exit 1`\n- [x] Includes `ca-certificates` in the runtime image to allow secure HTTPS connections\n- [x] Use multi-stage builds to reduce the size of the final image\n- [x] Run the application as a non-root user for better security\n- [x] Supports multi-platform images that run on both x86 and ARM CPU architectures\n\n## Supported Runtimes\n\n- [Bun](#bun)\n- [Deno](#deno)\n- [Elixir](#elixir)\n- [Go](#go)\n- [Java](#java)\n- [Next.js](#nextjs)\n- [Node.js](#nodejs)\n- [PHP](#php)\n- [Python](#python)\n- [Ruby](#ruby)\n- [Rust](#rust)\n- [Static](#static-html-css-js) (HTML, CSS, JS)\n\n### Additional runtimes we'd like to support\n\n- C#/.NET\n- C++\n- Scala\n- Zig\n\n[Consider contributing](CONTRIBUTING.md) to add support for these or any other runtimes!\n\n## Installation\n\n### cURL\n\n```sh\ncurl -fsSL https://flexstack.com/install/new-dockerfile | bash\n```\n\n### Go Package\n\n```sh\ngo get github.com/flexstack/new-dockerfile\n```\n\n## CLI Usage\n\n```sh\nnew-dockerfile [options]\n```\n\n## CLI Options\n\n- `--path` - Path to the project source code (default: `.`)\n- `--write` - Write the generated Dockerfile to the project at the specified path (default: `false`)\n- `--runtime` - Force a specific runtime, e.g. `node` (default: `auto`)\n- `--quiet` - Disable all logging except for errors (default: `false`)\n- `--help` - Show help\n\n## CLI Examples\n\nPrint the generated Dockerfile to the console:\n```sh\nnew-dockerfile\n```\n\nWrite a Dockerfile to the current directory:\n```sh\nnew-dockerfile --write\n```\n\nWrite a Dockerfile to a specific directory:\n```sh\nnew-dockerfile \u003e path/to/Dockerfile\n```\n\nForce a specific runtime:\n```sh\nnew-dockerfile --runtime next.js\n```\n\nList the supported runtimes:\n```sh\nnew-dockerfile --runtime list\n```\n\n## Read from Config file\n\nIn the CI use case, you might need a very common step for generating a `Dockerfile`. You can create a config file for the\nCLI options. The default config file name is `new-dockerfile.yaml`, and it should be in the root directory of your git\nrepository. Especially, there are multiple kinds of files, `new-dockerfile` might not be able to it a correct one.\n\n```yaml\nruntime: go\n```\n\nAnd, the CLI option will overwrite the values from config file.\n\n## How it Works\n\nThe tool searches for common files and directories in your project to determine the runtime and framework.\nFor example, if it finds a `package.json` file, it will assume the project is a Node.js project unless\na `next.config.js` file is present, in which case it will assume the project is a Next.js project.\n\nFrom there, it will read any `.tool-versions` or other version manager files to determine the correct version\nof the runtime to install. It will then make a best effort to detect any install, build, and start commands.\nFor example, a `serve`, `start`, `start:prod` command in a `package.json` file will be used as the start command.\n\nRuntimes are matched against in the order they appear when you run `new-dockerfile --runtime list`.\n\nRead on to see runtime-specific examples and how to configure the generated Dockerfile.\n\n## Runtime Documentation\n\n### Bun\n\n[Bun](https://bun.sh/) is a fast JavaScript all-in-one toolkit\n\n#### Detected Files\n  - `bun.lockb`\n  - `bun.lock`\n  - `bunfig.toml`\n\n#### Version Detection\n  - `.tool-versions` - `bun {VERSION}`\n  - `.mise.toml` - `bun = \"{VERSION}\"`\n\n#### Runtime Image\n`oven/bun:${VERSION}-slim`\n\n#### Build Args\n  - `VERSION` - The version of Bun to install (default: `1`)\n  - `INSTALL_CMD` - The command to install dependencies (default: `bun install`)\n  - `BUILD_CMD` - The command to build the project (default: detected from `package.json`)\n  - `START_CMD` - The command to start the project (default: detected from `package.json`)\n\n#### Build Command\n\nDetected in order of precedence:\n  - `package.json` scripts: `\"build:prod\", \"build:production\", \"build-prod\", \"build-production\", \"build\"`\n\n#### Start Command\n\nDetected in order of precedence:\n  - `package.json` scripts: `\"serve\", \"start:prod\", \"start:production\", \"start-prod\", \"start-production\", \"preview\", \"start\"`\n  - `package.json` main/module file: `bun run ${mainFile}`\n\n---\n\n### Deno\n\n[Deno](https://deno.com/) is a secure runtime for JavaScript with native TypeScript and JSX support\n\n#### Detected Files\n  - `deno.jsonc`\n  - `deno.json`\n  - `deno.lock`\n  - `deps.ts`\n  - `mod.ts`\n\n#### Version Detection\n  - `.tool-versions` - `deno {VERSION}`\n  - `.mise.toml` - `deno = \"{VERSION}\"`\n\n#### Runtime Image\n`debian:stable-slim`\n\n#### Build Args\n  - `VERSION` - The version of Deno to install (default: `latest`)\n  - `INSTALL_CMD` - The command to install dependencies (default: detected from `deno.jsonc` and source code)\n  - `START_CMD` - The command to start the project (default: detected from `deno.jsonc` and source code)\n\n#### Install Command\n\nDetected in order of precedence:\n  - `deno.jsonc` tasks: `\"cache\"`\n  - Main/module file: `deno cache [\"mod.ts\", \"src/mod.ts\", \"main.ts\", \"src/main.ts\", \"index.ts\", \"src/index.ts]\"`\n\n#### Start Command\n\nDetected in order of precedence:\n  - `deno.jsonc` tasks: `\"serve\", \"start:prod\", \"start:production\", \"start-prod\", \"start-production\", \"preview\", \"start\"`\n  - Main/module file: `deno run [\"mod.ts\", \"src/mod.ts\", \"main.ts\", \"src/main.ts\", \"index.ts\", \"src/index.ts]\"`\n  \n---\n\n### Elixir\n\n[Elixir](https://elixir-lang.org/) is a dynamic, functional language designed for building scalable and maintainable applications.\n\n#### Detected Files\n  - `mix.exs`\n\n#### Version Detection\n  - `.tool-versions` - `elixir {VERSION}`\n  - `.tool-versions` - `erlang {VERSION}`\n  - `.elixir-version` - `{VERSION}`\n  - `.erlang-version` - `{VERSION}`\n  - `.mise.toml` - `erlang = \"{VERSION}\"`\n\n#### Runtime Image\n`debian:stable-slim`\n\n#### Build Args\n  - `VERSION` - The version of Elixir to install (default: `1.12`)\n  - `OTP_VERSION` - The version of Erlang to install (default: `26.2.5`)\n  - `BIN_NAME` - The name of the release binary (default: detected via app name in `mix.exs`)\n\n#### Start Command\n`/app/bin/{BIN_NAME} start`\n\n---\n\n### Go\n\n[Go](https://golang.org/) is an open-source programming language that makes it easy to build simple, reliable, and efficient software.\n\n#### Detected Files\n  - `go.mod`\n  - `main.go`\n\n#### Version Detection\n  - `.tool-versions` - `golang {VERSION}`\n  - `.mise.toml` - `go = \"{VERSION}\"`\n  - `go.mod` - `go {VERSION}`\n\n#### Runtime Image\n`debian:stable-slim`\n\n#### Build Args\n  - `VERSION` - The version of Go to install (default: `1.17`)\n  - `TARGETOS` - The target OS for the build (default: `linux`)\n  - `TARGETARCH` - The target architecture for the build (default: `amd64`)\n  - `CGO_ENABLED` - Enable CGO for the build (default: `0`)\n  - `GOPROXY` - The Go module proxy to use (default: `direct`)\n  - `PACKAGE` - The package to compile e.g. `./cmd/http` (default: detected via `cmd` directory or `main.go`)\n\n#### Package Detection\n  - Find the directory in `cmd` with a `.go` file\n  - `main.go` file in the root directory\n\n#### Install Command\n`if [ -f go.mod ]; then go mod download; fi`\n\n#### Build Command\n`CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath -ldflags=\"-s -w\" -o /go/bin/app \"${PACKAGE}\"`\n\n#### Start Command\n`[\"/app/app\"]`\n\n---\n\n### Java\n\n[Java](https://www.java.com/) is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible.\n\n#### Detected Files\n  - `pom.{xml,atom,clj,groovy,rb,scala,yml,yaml}`\n\n#### Version Detection\nJDK version:\n  - `.tool-versions` - `java {VERSION}`\nMaven version:\n  - `.tool-versions` - `maven {VERSION}`\n\n#### Runtime Image\n`eclipse-temurin:${VERSION}-jdk`\n\n#### Build Args\n  - `VERSION` - The version of the JDK to install (default: `17`)\n  - `MAVEN_VERSION` - The version of Maven to install (default: `3`)\n  - `JAVA_OPTS` - The Java options to pass to the JVM (default: `-Xmx512m -Xms256m`)\n  - `BUILD_CMD` - The command to build the project (default: best guess via source code)\n  - `START_CMD` - The command to start the project (default: detected via source code)\n\n#### Install Command\n- If Maven: `mvn install`\n\n#### Build Command\n- If Maven: `mvn -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install`\n\n#### Start Command\n- Default: `java $JAVA_OPTS -jar target/*jar`\n- If Spring Boot: `java -Dserver.port=${PORT} $JAVA_OPTS -jar target/*jar`\n\n---\n\n### Next.js\n\n[Next.js](https://nextjs.org/) is a React framework that enables functionality such as server-side rendering and generating static websites.\n\n#### Detected Files\n  - `next.config.{js,mjs,cjs,ts,mts}`\n  - `next-env.d.ts`\n  - `.next/`\n\n#### Version Detection\n  - `.tool-versions` - `nodejs {VERSION}`\n  - `.nvmrc` - `v{VERSION}`\n  - `.node-version` - `v{VERSION}`\n  - `.mise.toml` - `node = \"{VERSION}\"`\n  - `package.json` - `\"engines\": {\"node\": \"{VERSION}\"}`\n\n#### Runtime Image\n`node:${VERSION}-slim`\n\n#### Build Args\n  - `VERSION` - The version of Node.js to install (default: `lts`)\n\n#### Install Command\n```sh\nif [ -f yarn.lock ]; then yarn --frozen-lockfile; \\\nelif [ -f package-lock.json ]; then npm ci; \\\nelif [ -f bun.lockb ]; then npm i -g bun \u0026\u0026 bun install; \\\nelif [ -f pnpm-lock.yaml ]; then corepack enable pnpm \u0026\u0026 pnpm i --frozen-lockfile; \\\nelse echo \"Lockfile not found.\" \u0026\u0026 exit 1; \\\nfi\n```\n#### Build Command\n```sh\nif [ -f yarn.lock ]; then yarn run build; \\\nelif [ -f package-lock.json ]; then npm run build; \\\nelif [ -f bun.lockb ]; then npm i -g bun \u0026\u0026 bun run build; \\\nelif [ -f pnpm-lock.yaml ]; then corepack enable pnpm \u0026\u0026 pnpm run build; \\\nelse echo \"Lockfile not found.\" \u0026\u0026 exit 1; \\\nfi\n```\n\n#### Start Command\n- If `\"output\" :\"standalone\"`  in `next.config.js`: `HOSTNAME=\"0.0.0.0\" node server.js`\n- Otherwise `[\"node_modules/.bin/next\", \"start\", \"-H\", \"0.0.0.0\"]`\n\n---\n\n### Node.js\n\n[Node.js](https://nodejs.org/) is a JavaScript runtime built on Chrome's V8 JavaScript engine.\n\n#### Detected Files\n  - `yarn.lock`\n  - `package-lock.json`\n  - `pnpm-lock.yaml`\n\n#### Version Detection\n  - `.tool-versions` - `nodejs {VERSION}`\n  - `.nvmrc` - `v{VERSION}`\n  - `.node-version` - `v{VERSION}`\n\n#### Runtime Image\n`node:${VERSION}-slim`\n\n#### Build Args\n  - `VERSION` - The version of Node.js to install (default: `lts`)\n  - `INSTALL_CMD` - The command to install dependencies (default: detected from source code)\n  - `BUILD_CMD` - The command to build the project (default: detected from source code)\n  - `START_CMD` - The command to start the project (default: detected from source code)\n\n#### Install Command\n- If Yarn: `yarn --frozen-lockfile`\n- If npm: `npm ci`\n- If pnpm: `corepack enable pnpm \u0026\u0026 pnpm i --frozen-lockfile`\n\n#### Build Command\nIn order of precedence:\n  - `package.json` scripts: `\"build:prod\", \"build:production\", \"build-prod\", \"build-production\", \"build\"`\n\n#### Start Command\nIn order of precedence:\n  - `package.json` scripts: `\"serve\", \"start:prod\", \"start:production\", \"start-prod\", \"start-production\", \"preview\", \"start\"`\n  - `package.json` scripts search for regex matching: `^.*?\\b(ts-)?node(mon)?\\b.*?(index|main|server|client)\\.([cm]?[tj]s)\\b`\n  - `package.json` main/module file: `node ${mainFile}`\n\n---\n\n### PHP\n\n[PHP](https://www.php.net/) is a popular general-purpose scripting language that is especially suited to web development.\n\n#### Detected Files\n  - `composer.json`\n  - `index.php`\n\n#### Version Detection\n  - `.tool-versions` - `php {VERSION}`\n  - `composer.json` - `\"php\": \"{VERSION}\"`\n\n#### Runtime Image\n`php:${VERSION}-apache`\n\n#### Build Args\n  - `VERSION` - The version of PHP to install (default: `8.3`)\n  - `INSTALL_CMD` - The command to install dependencies (default: detected via source code)\n  - `BUILD_CMD` - The command to build the project (default: detected via source code)\n  - `START_CMD` - The command to start the project (default: `apache2-foreground`)\n\n#### Install Command\n- If Composer: `composer update \u0026\u0026 composer install --prefer-dist --no-dev --optimize-autoloader --no-interaction`\n- If `package.json` exists: composer install command + see Node.js install command\n\n#### Build Command\n- If `package.json` exists: see Node.js build command\n\n#### Start Command\n`apache2-foreground`\n\n---\n\n### Python\n\n[Python](https://www.python.org/) is a high-level, interpreted programming language that is known for its readability and simplicity.\n\n#### Detected Files\n  - `requirements.txt`\n  - `uv.lock`\n  - `poetry.lock`\n  - `Pipefile.lock`\n  - `pyproject.toml`\n  - `pdm.lock`\n  - `main.py`\n  - `app.py`\n  - `application.py`\n  - `app/__init__.py`\n  - `filepath.Join(filepath.Base(path), \"app.py\")`\n  - `filepath.Join(filepath.Base(path), \"application.py\")`\n  - `filepath.Join(filepath.Base(path), \"main.py\")`\n  - `filepath.Join(filepath.Base(path), \"__init__.py\")`\n\n#### Version Detection\n  - `.tool-versions` - `python {VERSION}`\n  - `.python-version` - `{VERSION}`\n  - `.mise.toml` - `python = \"{VERSION}\"`\n  - `runtime.txt` - `python-{VERSION}`\n\n#### Runtime Image\n`python:${VERSION}-slim`\n\n#### Build Args\n  - `VERSION` - The version of Python to install (default: `3.10`)\n  - `INSTALL_CMD` - The command to install dependencies (default: detected from source code)\n  - `START_CMD` - The command to start the project (default: detected from source code)\n\n#### Install Command\n- If Poetry: `pip install poetry \u0026\u0026 poetry install --no-dev --no-ansi --no-root`\n- If Pipenv: `pipenv install --dev --system --deploy`\n- If uv: `pip install uv \u0026\u0026 uv sync --python-preference=only-system --no-cache --no-dev`\n- If PDM: `pip install pdm \u0026\u0026 pdm install --prod`\n- If `pyproject.toml` exists: `pip install --upgrade build setuptools \u0026\u0026 pip install .`\n- If `requirements.txt` exists: `pip install -r requirements.txt`\n\n#### Start Command\n- If Django is detected: `python manage.py runserver 0.0.0.0:${PORT}`\n- If FastAPI is detected: `fastapi run [main.py, app.py, application.py, app/main.py, app/application.py, app/__init__.py] --port ${PORT}`\n- If `pyproject.toml` exists: `python -m ${projectName}`\n- Otherwise: `python [main.py, app.py, application.py, app/main.py, app/application.py, app/__init__.py]`\n\n---\n\n### Ruby\n\n[Ruby](https://www.ruby-lang.org/) is a dynamic, open-source programming language with a focus on simplicity and productivity.\n\n#### Detected Files\n  - `Gemfile`\n  - `Gemfile.lock`\n  - `config.ru`\n  - `Rakefile`\n  - `config/environment.rb`\n\n#### Version Detection\n  - `.tool-versions` - `ruby {VERSION}`\n  - `.ruby-version` - `{VERSION}`\n  - `.mise.toml` - `ruby = \"{VERSION}\"`\n  - `Gemfile` - `ruby '{VERSION}'`\n\n#### Runtime Image\n`ruby:${VERSION}-slim`\n\n#### Build Args\n  - `VERSION` - The version of Ruby to install (default: `3.0`)\n  - `INSTALL_CMD` - The command to install dependencies (default: detected from source code)\n  - `BUILD_CMD` - The command to build the project (default: detected from source code)\n  - `START_CMD` - The command to start the project (default: detected from source code)\n\n#### Install Command\n- `bundle install`\n- If `package.json` exists: `bundle install \u0026\u0026 [package manager install command]`\n\n#### Build Command\n- If Rails: `bundle exec rake assets:precompile`\n\n#### Start Command\n- If Rails: `bundle exec rails server -b 0.0.0.0 -p ${PORT}`\n- If `config.ru` exists: `bundle exec rackup config.ru -p ${PORT}`\n- If `config/environment.rb` exists: `bundle exec rails server -b`\n- If `Rakefile` exists: `bundle exec rake`\n\n---\n\n### Rust\n\n[Rust](https://www.rust-lang.org/) is a systems programming language that is known for its speed, memory safety, and parallelism.\n\n#### Detected Files\n  - `Cargo.toml`\n\n#### Runtime Image\n`debian:stable-slim`\n\n#### Build Args\n  - `TARGETOS` - The target OS for the build (default: `linux`)\n  - `TARGETARCH` - The target architecture for the build (default: `amd64`)\n  - `BIN_NAME` - The name of the release binary (default: detected via `Cargo.toml`)\n\n#### Build Command\n```sh \nif [ \"${TARGETARCH}\" = \"amd64\" ]; then rustup target add x86_64-unknown-linux-gnu; else rustup target add aarch64-unknown-linux-gnu; fi\nif [ \"${TARGETARCH}\" = \"amd64\" ]; then cargo zigbuild --release --target x86_64-unknown-linux-gnu; else cargo zigbuild --release --target aarch64-unknown-linux-gnu; fi\n```\n\n#### Start Command\nDetermined by the binary name in the `Cargo.toml` file\n- `[\"/app/app\"]`\n\n---\n\n### Static (HTML, CSS, JS)\n\n[Static Web Server](https://static-web-server.net/) is a cross-platform, high-performance \u0026 asynchronous web server for static files serving.\nIt is nearly as fast as Nginx and Lighttpd, but is [easily configurable with environment variables](https://static-web-server.net/configuration/environment-variables/).\n\n#### Detected Files\n  - `public/`\n  - `static/`\n  - `dist/`\n  - `index.html`\n\n#### Runtime Image\n`joseluisq/static-web-server:${VERSION}-debian`\n\n#### Build Args\n  - `VERSION` - The version of the static web server to install (default: `2`)\n  - `SERVER_ROOT` - The root directory of the server (default: detected from source code)\n\n---\n\n## Used By\n\n- [FlexStack](https://flexstack.com) - A platform that simplifies the deployment of containerized applications to AWS. \n  FlexStack uses this tool to automatically detect the runtime and framework used by your project, so you can just bring your code and deploy it with confidence.\n- *Your project here* - If you're using this tool in your project, let us know! We'd love to feature you here.\n\n## Contributing\n\nRead the [CONTRIBUTING.md](CONTRIBUTING.md) guide to learn how to contribute to this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexstack%2Fnew-dockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexstack%2Fnew-dockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexstack%2Fnew-dockerfile/lists"}