[Docker] Compile Python bytecode at image build time (#55422)
Signed-off-by: Nils Matteson <nilsmatteson@icloud.com> Co-authored-by: Simon Mo <simon.mo@hey.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Simon Mo
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
7314360c9e
commit
76d3929916
@@ -22,6 +22,7 @@ ENV HOME=/root \
|
||||
RUSTUP_HOME=/root/.rustup \
|
||||
UV_CACHE_DIR=$HOME/.cache/uv \
|
||||
PATH=/root/.cargo/bin:/root/.rustup/bin:${VIRTUAL_ENV}/bin:$PATH
|
||||
ENV UV_COMPILE_BYTECODE=1
|
||||
|
||||
RUN echo "DEBUG: VLLM_VERSION=${VLLM_VERSION}"
|
||||
RUN --mount=type=cache,target=/var/cache/dnf \
|
||||
|
||||
Reference in New Issue
Block a user