Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleTryon committed Sep 13, 2024
1 parent d6cdd94 commit f530f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/languages/python-uv-dockerfile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.4.9 /uv /bin/uv
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
```

In the builder we copy in the `uv` binary from the official UV image at a specific version tag.
In the builder we copy in the `uv` binary from the official UV image at a specific version tag.

`UV_COMPILE_BYTECODE=1` tells `uv` to compile Python files to `.pyc` bytecode files. This takes a little longer to install (part of the build process), but often speeds up the application's startup time in the container.

Expand Down Expand Up @@ -91,4 +91,4 @@ After copying in your application, you can expose whichever port your applicatio
## References

- [UV Github](https://github.com/astral-sh/uv)
- [Official UV Docker documentation](https://docs.astral.sh/uv/guides/integration/docker/)
- [Official UV Docker documentation](https://docs.astral.sh/uv/guides/integration/docker/)

0 comments on commit f530f1b

Please sign in to comment.