Skip to content

Commit

Permalink
Add example of uv sync --frozen
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Aug 26, 2024
1 parent ed8370e commit 4fdbd0c
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,29 @@ A [`run.sh`](./run.sh) utility is provided for quickly building the image and st
This script demonstrates best practices for developing using the container, using bind mounts for
the project and virtual environment directories.

To run the application in an image:
To run the application in a container:

```
./run.sh hello
```console
$ ./run.sh hello
```

To enter a Python REPL in the image:
To enter a Python REPL in a container:

```
./run.sh
```console
$ ./run.sh
```

To enter a `bash` shell in the image:
To enter a `bash` shell in a container:

```console
$ ./run.sh /bin/bash
```
./run.sh /bin/bash

To check that the environment is up-to-date:

```console
$ ./run.sh uv sync --frozen
Audited 2 packages ...
```

## Project overview
Expand Down

0 comments on commit 4fdbd0c

Please sign in to comment.