From d88d3c3e0221dbf30a96c95ebd17c501bef83102 Mon Sep 17 00:00:00 2001 From: iLay Date: Fri, 6 Dec 2024 21:30:30 +0800 Subject: [PATCH] up --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2d5f29..5e470cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,13 @@ FROM oven/bun:latest # 设置工作目录 WORKDIR /app -# 复制 package.json 和 package-lock.json(如果有)到工作目录 -COPY package*.json ./ # 复制项目文件到工作目录 -COPY ./.output/* ./ +COPY ./.output/* ./.output/ # 暴露应用运行的端口(假设应用运行在 3000 端口) EXPOSE 3000 # 启动应用 -CMD ["bun","/app/server/index.mjs"] \ No newline at end of file +CMD ["bun",".output/server/index.mjs"] \ No newline at end of file