import { Card } from "~/components/ui/card"; import type { Volume } from "~/lib/types"; import * as YML from "yaml"; import { CodeBlock } from "~/components/ui/code-block"; type Props = { volume: Volume; }; export const DockerTabContent = ({ volume }: Props) => { const yamlString = YML.stringify({ services: { nginx: { image: "nginx:latest", volumes: [`${volume.name}:/path/in/container`], }, }, volumes: { [volume.name]: { external: true, }, }, }); return (