---
title: "Dockerfile Generate (x402)"
method: GET
path: "/x402/v2/dockerfile-generate"
tags: ["x402"]
---

# Dockerfile Generate (x402)

`GET /x402/v2/dockerfile-generate`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/dockerfile-generate`
- Auth: none required

Generate optimized, production-ready Dockerfiles. Multi-stage builds, Alpine base, non-root user, layer caching. Supports Node, Python, Go, Rust, Java.

## Query parameters

- `alpine` boolean
- `language` string, required
- `framework` string
- `multi_stage` boolean

## Response `200`

Success

- object
  - `stages` unknown[]
    - unknown
  - `dockerfile` string
  - `security_notes` unknown[]
    - unknown
  - `estimated_image_size` string

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
