Esta herramienta aún no está traducida. La calculadora de abajo se muestra en inglés.

Docker Tool

Build Dockerfiles, Compose files, and explore Docker CLI commands

Stage 1
AS
WORKDIR
COPY
RUN
COPY
ENV
EXPOSE
USER
CMD

Add instruction

Filesystem
Execution
Config
Advanced

Preview

FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY . .
ENV NODE_ENV=production PORT=3000
EXPOSE 3000
USER node
CMD ["node", "dist/index.js"]

The Dockerfile updates in real time as you edit the builder. Use multiple stages for multi-stage builds by adding stages with aliases.

Acerca de Herramienta Docker

Herramienta Docker: Utilidades y ayudas para Docker. It is free to use on AIO Tools and needs no account.

Herramienta Docker: preguntas frecuentes