mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
update pnpm in dockerfile
This commit is contained in:
@ -3,7 +3,7 @@ FROM node:lts-alpine AS base
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache g++ git curl make python3 libc6-compat \
|
RUN apk add --no-cache g++ git curl make python3 libc6-compat \
|
||||||
&& curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
&& curl -fsSL https://get.pnpm.io/install.sh | node - add --global pnpm
|
||||||
|
|
||||||
FROM base as dependencies
|
FROM base as dependencies
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ FROM node:lts-alpine AS base
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache g++ git curl make python3 libc6-compat \
|
RUN apk add --no-cache g++ git curl make python3 libc6-compat \
|
||||||
&& curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
&& curl -fsSL https://get.pnpm.io/install.sh | node - add --global pnpm
|
||||||
|
|
||||||
FROM base AS dependencies
|
FROM base AS dependencies
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y curl build-essential \
|
&& apt-get install -y curl build-essential \
|
||||||
&& curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
&& curl -fsSL https://get.pnpm.io/install.sh | node - add --global pnpm
|
||||||
|
|
||||||
COPY --from=builder /app/package.json /app/pnpm-*.yaml /app/turbo.json ./
|
COPY --from=builder /app/package.json /app/pnpm-*.yaml /app/turbo.json ./
|
||||||
COPY --from=builder /app/server/package.json ./server/package.json
|
COPY --from=builder /app/server/package.json ./server/package.json
|
||||||
|
|||||||
Reference in New Issue
Block a user