Commit 5e9d50ba by Haohao Jiang

feat: add dockerfile & build shell

parent 4de9da3a
# 使用官方指定版本的 bun 镜像
FROM oven/bun:1.1.18
# 设置工作目录
WORKDIR /app
# 拷贝项目文件
COPY . .
# 安装依赖(建议使用 bun.lockb 加快构建)
RUN bun install --frozen-lockfile
# 暴露端口(按需修改)
# EXPOSE 3000
# 默认启动命令(可根据你的项目改成 bun run dev / bun run start 等)
CMD ["bun", "start"]
\ No newline at end of file
docker build -t reg.i.strikingly.com/falcon:v0.1 .
docker push reg.i.strikingly.com/falcon:v0.1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment