mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-13 12:22:56 +00:00
refactor: update pnpm to v10
This commit is contained in:
@@ -115,7 +115,7 @@ RUN cd / && ionic start $TMP_PROJECT_NAME blank --type=angular --capacitor --no-
|
||||
RUN ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
||||
|
||||
### PNPM
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
### Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
@@ -84,7 +84,7 @@ RUN apt-get update && \
|
||||
RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
||||
|
||||
### PNPM
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
# versions of local tools
|
||||
RUN echo " node version: $(node -v) \n" \
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM node:22-alpine
|
||||
|
||||
RUN apk update && apk add git curl jq && mkdir -p /opt
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
COPY --chown=root:root wait-for.sh /opt/wait-for
|
||||
|
||||
|
||||
@@ -2,6 +2,6 @@ FROM node:22-alpine
|
||||
|
||||
RUN apk update && apk add git jq curl python3 build-base
|
||||
|
||||
RUN npm install turbo --global && corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN npm install turbo --global && corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
CMD []
|
||||
|
||||
Reference in New Issue
Block a user