### Build and Run Web App with Docker Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Utility script to build the Docker image and start the web application container. Uses bind mounts for project and virtual environment directories for live development. ```bash ./run.sh ``` -------------------------------- ### Sync Dependencies with uv Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Command to ensure the environment is up-to-date after image builds using uv sync. The --locked flag ensures that dependencies are installed according to the lock file. ```bash ./run.sh uv sync --locked ``` -------------------------------- ### Run CLI Entrypoint in Container Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Executes the command-line entrypoint within the container for demonstration purposes. ```bash ./run.sh hello ``` -------------------------------- ### Build and Run Web App with Docker Compose Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Command to build and run the web application using Docker Compose. This method offers more robust support for various development workflows. ```bash docker compose up --watch ``` -------------------------------- ### Build Docker Image Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Builds the default Docker image from the Dockerfile in the current directory. ```dockerfile docker build . ``` -------------------------------- ### Build Multistage Docker Image Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Builds a Docker image using the multistage Dockerfile, which is optimized to reduce the final image size. ```dockerfile docker build . --file multistage.Dockerfile ``` -------------------------------- ### Enter Bash Shell in Container Source: https://github.com/astral-sh/uv-docker-example/blob/main/README.md Provides access to a bash shell inside the running container, useful for debugging or manual inspection. ```bash ./run.sh /bin/bash ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.