update docker file

This commit is contained in:
Wenjie Zhang 2024-09-23 13:01:20 +08:00
parent b6abb2c8e7
commit 6a523f37da

View File

@ -1,5 +1,5 @@
# 使用 Node.js 作为基础镜像,用于构建前端
FROM node:16-alpine AS build-stage
FROM node:latest AS build-stage
WORKDIR /app
# 将 package.json 和 package-lock.json 复制到工作目录