mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
17 lines
340 B
Docker
17 lines
340 B
Docker
# E2E 测试用简化 Dockerfile(跳过 frontend 构建)
|
||
FROM oven/bun:1
|
||
|
||
WORKDIR /app
|
||
|
||
RUN apt-get update && apt-get install -y git ripgrep curl && rm -rf /var/lib/apt/lists/*
|
||
|
||
COPY package.json bun.lock* bun.lockb* ./
|
||
RUN bun install --no-frozen-lockfile
|
||
|
||
COPY src ./src
|
||
COPY tsconfig.json .
|
||
|
||
EXPOSE 5174
|
||
|
||
CMD ["bun", "run", "start"]
|