> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.latch.bio/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing the Dockerfile

Before registering, generate a Dockerfile using the `latch dockerfile` command. This will specify the environment in which the pipeline will run. This command is documented extensively [here](../python/workflow-environment/overview).

For snakemake workflows, add the `--snakemake` option to ensure that the right `latch` plugins get installed.
