This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# Stage 1: Build Stage
|
||||
FROM node:22-alpine AS base
|
||||
|
||||
# Use Alpine mirror
|
||||
RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories
|
||||
|
||||
# Configure npm registry mirror
|
||||
ENV NPM_CONFIG_REGISTRY=https://package-mirror.liara.ir/repository/npm/
|
||||
RUN npm config set registry https://package-mirror.liara.ir/repository/npm/
|
||||
|
||||
RUN npm install -g corepack@latest
|
||||
RUN corepack enable && corepack prepare pnpm@9 --activate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user