OpenClaw
10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
☆ 0查看技能
Dockerfile Generator
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install honestqiao/dockerfile-generator打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
根据应用类型自动生成优化的 Dockerfile。
# Node.js
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]
# Python
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "main.py"]
# Go (多阶段构建)
FROM golang:1.21-alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o main .
FROM alpine
COPY --from=builder /app/main .
EXPOSE 8080
CMD ["./main"]
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Dockerfile Generator 根据应用类型自动生成优化的 Dockerfile。 ## 功能 - 多语言支持 (Node.js, Python, Go, Java等) - 多阶段构建优化 - 最佳实践自动应用 - 性能优化 ## 触发词 - "生成Dockerfile" - "docker配置" - "containerize" ## 支持模板 ```dockerfile # Node.js FROM node:20-alpine WORKDIR /app COPY package*.json ./ RUN npm ci --only=production COPY . . EXPOSE 3000 CMD ["node", "server.js"] # Python FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt COPY . . EXPOSE 8000 CMD ["python", "main.py"] # Go (多阶段构建) FROM golang:1.21-alpine AS builder WORKDIR /app COPY . . RUN go build -o main . FROM alpine COPY --from=builder /app/main . EXPOSE 8080 CMD ["./main"] ```
generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.