mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
build: Ensure npm version compatibility, fix casing warnings (#975)
This commit is contained in:
parent
ca3b0a75d3
commit
b6c5522119
3 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-alpine as server-dependencies
|
||||
FROM node:18-alpine AS server-dependencies
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add build-base python3 \
|
||||
|
@ -8,7 +8,7 @@ WORKDIR /app
|
|||
|
||||
COPY server/package.json server/package-lock.json ./
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
RUN npm install npm --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install --prod
|
||||
|
@ -19,7 +19,7 @@ WORKDIR /app
|
|||
|
||||
COPY client/package.json client/package-lock.json ./
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
RUN npm install npm --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install --prod
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-alpine as server-dependencies
|
||||
FROM node:18-alpine AS server-dependencies
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add build-base python3 \
|
||||
|
@ -6,7 +6,7 @@ RUN apk -U upgrade \
|
|||
|
||||
WORKDIR /app/client
|
||||
COPY package.json package-lock.json /app/client/
|
||||
RUN npm install npm@latest --global \
|
||||
RUN npm install npm --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-alpine as server-dependencies
|
||||
FROM node:18-alpine AS server-dependencies
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add build-base python3 \
|
||||
|
@ -8,7 +8,7 @@ WORKDIR /app
|
|||
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
RUN npm install npm --global \
|
||||
&& npm install pnpm --global \
|
||||
&& pnpm import \
|
||||
&& pnpm install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue