Transformez vos extraits Dockerfile en images que l’on a envie de partager, sans quitter votre Mac.
Dockerfiles get screenshotted more than almost anything else, usually to show a layer order or a multi-stage build.
Codeshot détecte Dockerfile à partir du code que vous collez : aucun sélecteur de langage à se tromper. Voici le même extrait dans trois des 30 thèmes fournis, rendus avec les feuilles de style de l’app.
FROM node:20-alpine AS build
WORKDIR /appCOPY package*.json ./RUN npm ciCOPY . .RUN npm run buildFROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
Atom One · sombre
FROM node:20-alpine AS build
WORKDIR /appCOPY package*.json ./RUN npm ciCOPY . .RUN npm run buildFROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
Edge · sombre
FROM node:20-alpine AS build
WORKDIR /appCOPY package*.json ./RUN npm ciCOPY . .RUN npm run buildFROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
GitHub · sombre
Choisir un thème pour Dockerfile
Keep the whole stage in frame. A Dockerfile cropped mid-stage is actively misleading, since the order of the instructions is the point.
Trouver la bonne taille
Laissez l’image suivre votre contenu ou fixez un rapport — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 ou 3:4 — puis exportez en 1×, 2× ou 3× pour qu’elle reste nette sur un écran retina. Copiez-la dans le presse-papiers avec ⌘⇧C ou enregistrez avec ⌘S.