fix: 使用国内镜像加速Docker构建 [AC-AISVC-01]

This commit is contained in:
MerCry 2026-02-26 02:12:04 +08:00
parent 7c8e4b6dc7
commit 366f38e17f
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# AI Service Admin Frontend Dockerfile
FROM node:20-alpine AS builder
FROM docker.1ms.run/node:20-alpine AS builder
WORKDIR /app
@ -11,7 +11,7 @@ COPY . .
RUN npm run build
FROM nginx:alpine
FROM docker.1ms.run/nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html

View File

@ -1,5 +1,5 @@
# AI Service Backend Dockerfile
FROM python:3.11-slim AS builder
FROM docker.1ms.run/python:3.11-slim AS builder
WORKDIR /app
@ -9,7 +9,7 @@ COPY pyproject.toml .
RUN uv pip install --system --no-cache-dir .
FROM python:3.11-slim
FROM docker.1ms.run/python:3.11-slim
WORKDIR /app