You've already forked DataMate
mirror
This commit is contained in:
@@ -4,7 +4,9 @@ WORKDIR /app
|
||||
|
||||
COPY frontend ./
|
||||
|
||||
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi && \
|
||||
# 配置 npm 淘宝镜像
|
||||
RUN npm config set registry https://registry.npmmirror.com && \
|
||||
if [ -f package-lock.json ]; then npm ci; else npm install; fi && \
|
||||
npm run build
|
||||
|
||||
FROM nginx:1.29 AS runner
|
||||
|
||||
Reference in New Issue
Block a user