Fix pnpm installation in Docker builds
This commit is contained in:
@@ -29,7 +29,7 @@ RUN chmod a+rx whishper
|
||||
FROM node:alpine as frontend
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
RUN npm install --global pnpm@8.15.9
|
||||
COPY ./frontend /app
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ RUN chmod a+rx whishper
|
||||
FROM node:alpine as frontend
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
RUN npm install --global pnpm@8.15.9
|
||||
COPY ./frontend /app
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM node:alpine as base
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
RUN npm install --global pnpm@8.15.9
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user