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

> Deploying an application with a Docker container

# Dockerized deployment

Atoti applications can be deployed inside Docker containers.
An example `Dockerfile` can be found in the [project template](https://github.com/activeviam/atoti-python-sdk-project-template).
It uses multi-stage builds to minimize the size of the final image.

## Logging

When deploying applications inside Docker containers, especially with managed services, it is common practice to write the application’s logs to the container’s `STDOUT` and `STDERR`.
This lets the hosting service used to deploy the containers manage log collection.
On AWS for example, the AWS log driver can be used to forward the container’s logs to CloudWatch.

Use [`atoti.LoggingConfig.destination`](../../api/atoti.config.logging_config#atoti.LoggingConfig.destination) to configure the application to write its logs to `STDOUT`.
