mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
chore: update Dockerfile to install specific pnpm version and remove CI environment variable
This commit is contained in:
@@ -1,15 +1,12 @@
|
|||||||
FROM node:24.4-alpine AS base
|
FROM node:24.4-alpine AS base
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
ENV PATH="$PNPM_HOME:$PATH"
|
ENV PATH="$PNPM_HOME:$PATH"
|
||||||
RUN corepack enable
|
RUN npm install -g pnpm@10.22.0
|
||||||
|
|
||||||
FROM base AS build
|
FROM base AS build
|
||||||
ENV CI=true
|
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
RUN echo "confirm-module-purge=false" >> /usr/src/app/.npmrc
|
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/website --frozen-lockfile
|
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/website --frozen-lockfile
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user