更新 Dockerfile
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# ---- Build stage ----
|
||||
FROM node:20-slim AS build
|
||||
FROM docker.1ms.run/node:20-slim AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -13,7 +13,7 @@ COPY src/ ./src
|
||||
COPY index.html ./
|
||||
|
||||
# ---- Runtime stage ----
|
||||
FROM nginx:1.27-alpine
|
||||
FROM docker.1ms.run/nginx:1.27-alpine
|
||||
|
||||
RUN apk add --no-cache nodejs npm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user