mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-04 03:02:16 +08:00
up
This commit is contained in:
parent
e4ce0bd175
commit
d88d3c3e02
@ -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"]
|
||||
CMD ["bun",".output/server/index.mjs"]
|
Loading…
x
Reference in New Issue
Block a user