Skip to content

Commit

Permalink
add debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
henryjw committed May 4, 2024
1 parent e8f2885 commit 4a670ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ RUN corepack enable
WORKDIR /app
COPY . .

RUN --mount=type=cache,target=/pnpm echo "PNPM contents before install: $(ls -la ${PNPM_HOME})"

RUN --mount=type=cache,target=/pnpm \
pnpm config set store-dir ${PNPM_HOME} && \
pnpm install --frozen-lockfile --prefer-offline

RUN --mount=type=cache,target=/pnpm echo "PNPM contents after install: $(ls -la ${PNPM_HOME})"

# Use a smaller Node.js image for the final image
FROM node:alpine AS prod

Expand Down

0 comments on commit 4a670ee

Please sign in to comment.