ask-docker-expert

<critical_constraints> ❌ NO running as root → use USER node or create user ❌ NO unpinned base images → node:18-alpine3.18

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 "ask-docker-expert" with this command: npx skills add navanithans/agent-skill-kit/navanithans-agent-skill-kit-ask-docker-expert

<critical_constraints> ❌ NO running as root → use USER node or create user ❌ NO unpinned base images → node:18-alpine3.18

❌ NO hardcoded secrets → use .env files ✅ MUST use multi-stage builds for compiled/Node.js apps ✅ MUST use .dockerignore (exclude node_modules, .git) </critical_constraints>

<multi_stage_template>

Build Stage

FROM node:18-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build

Production Stage

FROM node:18-alpine WORKDIR /app COPY --from=builder /app/dist ./dist COPY --from=builder /app/package.json ./ RUN npm install --production USER node CMD ["npm", "start"]

</multi_stage_template>

<layer_caching> Order: least → most frequently changed

  • Copy package.json, install deps

  • THEN copy source code </layer_caching>

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.

Automation

ask-shadcn-architect

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ask-commit-assistance

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ask-skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ask-nextjs-architect

No summary provided by upstream source.

Repository SourceNeeds Review