This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
FROM node:22-alpine AS builder
|
||||
|
||||
RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirror.de.velop.ir/alpine|g' /etc/apk/repositories
|
||||
|
||||
ENV TZ=Asia/Tehran
|
||||
ENV NPM_CONFIG_REGISTRY=https://mirror-npm.runflare.com
|
||||
|
||||
RUN apk add --no-cache tzdata \
|
||||
&& cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime \
|
||||
&& echo "Asia/Tehran" > /etc/timezone
|
||||
|
||||
WORKDIR /build
|
||||
COPY package*.json ./
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
Reference in New Issue
Block a user