update dockerfile

This commit is contained in:
我若为王 2024-12-05 14:13:58 +08:00
parent c50d5ddf71
commit ab2e9e873c

View File

@ -15,10 +15,10 @@ RUN bun install
COPY . .
# 构建项目(如果需要)
RUN bun build
RUN bun run build
# 暴露应用运行的端口(假设应用运行在 3000 端口)
EXPOSE 3000
# 启动应用
CMD ["bun", "start"]
CMD ["bun","run", "start"]