更新 Dockerfile

This commit is contained in:
ywp
2025-10-22 15:17:29 +08:00
parent 3a73310176
commit 5fb68efd00

View File

@ -1,5 +1,5 @@
# ---- Build stage ---- # ---- Build stage ----
FROM node:20-slim AS build FROM docker.1ms.run/node:20-slim AS build
WORKDIR /app WORKDIR /app
@ -13,7 +13,7 @@ COPY src/ ./src
COPY index.html ./ COPY index.html ./
# ---- Runtime stage ---- # ---- Runtime stage ----
FROM nginx:1.27-alpine FROM docker.1ms.run/nginx:1.27-alpine
RUN apk add --no-cache nodejs npm RUN apk add --no-cache nodejs npm