mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 02:32:17 +08:00
update dockerfile
This commit is contained in:
parent
c50d5ddf71
commit
ab2e9e873c
@ -15,10 +15,10 @@ RUN bun install
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# 构建项目(如果需要)
|
# 构建项目(如果需要)
|
||||||
RUN bun build
|
RUN bun run build
|
||||||
|
|
||||||
# 暴露应用运行的端口(假设应用运行在 3000 端口)
|
# 暴露应用运行的端口(假设应用运行在 3000 端口)
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# 启动应用
|
# 启动应用
|
||||||
CMD ["bun", "start"]
|
CMD ["bun","run", "start"]
|
Loading…
x
Reference in New Issue
Block a user