This commit is contained in:
iLay 2024-12-06 21:56:17 +08:00
parent 99f5d9a24a
commit 694dff0df2

View File

@ -7,11 +7,11 @@ WORKDIR /app
# 复制项目文件到工作目录
COPY .output/* /app
COPY .output /app/.output
# 暴露应用运行的端口(假设应用运行在 3000 端口)
EXPOSE 3000
# 启动应用
CMD ["bun","index.mjs"]
CMD ["bun",".output/server/index.mjs"]