Make tsc --help 2x faster (#7365)

This commit is contained in:
Jarred Sumner
2023-12-01 22:56:40 +01:00
committed by GitHub
parent 70e57a7da0
commit 0c532eac7b
36 changed files with 1403 additions and 152 deletions

View File

@@ -57,6 +57,11 @@ RUN apt-get update -qq \
FROM gcr.io/distroless/base-nossl-debian11
# Disable the runtime transpiler cache by default inside Docker containers.
# On ephemeral containers, the cache is not useful
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=${BUN_RUNTIME_TRANSPILER_CACHE_PATH}
COPY --from=build /usr/local/bin/bun /usr/local/bin/
# Temporarily use the `build`-stage image binaries to create a symlink: