chore(repo): initialize Tradarr repository

Add the existing application baseline and repository documentation/ignore rules.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 18:38:53 +01:00
commit 1b0625f91c
115 changed files with 18728 additions and 0 deletions

32
backend/Dockerfile Normal file
View File

@ -0,0 +1,32 @@
FROM golang:1.23-bookworm AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o tradarr ./cmd/server
FROM debian:bookworm-slim
# Chromium pour le scraping Bloomberg + Node.js pour Claude Code CLI
RUN apt-get update && apt-get install -y \
chromium \
chromium-driver \
ca-certificates \
fonts-liberation \
libnss3 \
nodejs \
npm \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/* && \
npm install -g @anthropic-ai/claude-code
WORKDIR /app
COPY --from=builder /app/tradarr .
COPY --from=builder /app/internal/database/migrations ./internal/database/migrations
ENV CHROME_PATH=/usr/bin/chromium
EXPOSE 8080
CMD ["./tradarr"]