dockerize-project

Dockerize Current Project (Minimal)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dockerize-project" with this command: npx skills add gemini960114/skills/gemini960114-skills-dockerize-project

Dockerize Current Project (Minimal)

Goal

Analyze the current project’s files and generate a minimal, working Dockerfile and docker-compose.yml so the project can be started with docker compose up --build .

Instructions

  • Inspect the current project structure and identify the primary tech stack:

  • Python (pyproject.toml, uv.lock, requirements.txt, manage.py, app.py, main.py)

  • Node.js (package.json)

  • Other / generic

  • Check whether Docker-related files already exist:

  • Dockerfile

  • docker-compose.yml / docker-compose.yaml

  • .dockerignore

  • If any exist, do NOT overwrite them. Ask the user whether to merge, regenerate with backups, or cancel.

  • Infer a reasonable default entrypoint and port from the codebase.

  • If the entrypoint or port is unclear, ask up to three concise clarification questions.

  • Generate the following files as complete code blocks:

  • Dockerfile (development-oriented, readable, non-root when reasonable)

  • docker-compose.yml (no version: field)

  • .dockerignore

  • Prefer bind mounts for local development and explain how to change this if needed.

Constraints

  • Do not use sudo .

  • Do not hardcode secrets; use environment variables or an .env / .env.docker template if necessary.

  • Do not run Docker commands automatically.

  • Keep the setup minimal and easy to modify.

Output Format

  • Detection Summary

  • Detected stack

  • Assumed entrypoint

  • Assumed port

  • Generated Files

  • Dockerfile

  • docker-compose.yml

  • .dockerignore

  • How to Run

  • docker compose up --build

  • Common commands (logs , exec )

  • Notes

  • What to change if the entrypoint, port, or environment differs.

Example

User: Dockerize this project for local development

Result:

  • Detect Python project

  • Generate Dockerfile + docker-compose.yml

  • Explain how to start and customize

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

fastapi-templates

No summary provided by upstream source.

Repository SourceNeeds Review
General

frontend-requirements

No summary provided by upstream source.

Repository SourceNeeds Review
General

uv-environment

No summary provided by upstream source.

Repository SourceNeeds Review
General

node-npm-environment

No summary provided by upstream source.

Repository SourceNeeds Review