CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
Dockerfile
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| 8ade77b | 1 | FROM oven/bun:1.3 AS base |
| 2 | WORKDIR /app | |
| 3 | ||
| 4 | # Install git (required for git operations) | |
| 5 | RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* | |
| 6 | ||
| 7 | # Install dependencies | |
| 8 | COPY package.json bun.lock ./ | |
| 9 | RUN bun install --frozen-lockfile --production | |
| 10 | ||
| 11 | # Copy source | |
| 12 | COPY src/ ./src/ | |
| 50c42fe | 13 | COPY drizzle/ ./drizzle/ |
| dcefebe | 14 | COPY scripts/ ./scripts/ |
| 8ade77b | 15 | COPY tsconfig.json drizzle.config.ts ./ |
| 16 | COPY legal/ ./legal/ | |
| 17 | COPY CLAUDE.md LICENSE ./ | |
| 18 | ||
| 19 | # Create repos directory | |
| 20 | RUN mkdir -p /data/repos | |
| 21 | ||
| 22 | ENV GIT_REPOS_PATH=/data/repos | |
| 23 | ENV NODE_ENV=production | |
| 24 | ENV PORT=3000 | |
| 25 | ||
| 26 | EXPOSE 3000 | |
| 27 | ||
| 2c3ba6e | 28 | # Run as non-root user for security |
| 29 | RUN chown -R bun:bun /app /data/repos | |
| 30 | USER bun | |
| 31 | ||
| 8ade77b | 32 | CMD ["bun", "run", "src/index.ts"] |