Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/Dockerfile.node
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ RUN yarn build

FROM node:22-alpine
WORKDIR /app
# Keep Corepack's Yarn download in the image (world-readable) rather than in
# root's $HOME, so a `yarn ...` CMD starts as uid 1000 without fetching Yarn
# from repo.yarnpkg.com on every pod start.
ENV COREPACK_HOME=/usr/local/share/corepack
# tzdata is only needed if the app sets TZ. Add `git` here if the app shells
# out to it.
RUN apk add --no-cache tzdata \
Expand Down
Loading