revert: remove torrent streaming feature

This commit is contained in:
2026-04-07 13:48:37 +02:00
parent 81e5050732
commit aa5a99eec7
28 changed files with 294 additions and 3937 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.25-bookworm AS builder
FROM golang:1.24-bullseye AS builder
WORKDIR /app
@@ -10,24 +10,16 @@ RUN go mod download
COPY . .
# Generate templ templates
RUN go run github.com/a-h/templ/cmd/templ@latest generate
# Build the server and the CLI tools
RUN go build -o main_server ./cmd/server
RUN go build -o create_user ./cmd/create-user
FROM debian:bookworm-slim
FROM debian:bullseye-slim
WORKDIR /app
# Install ffmpeg, sqlite and ca-certificates
RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
ca-certificates \
sqlite3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Required for sqlite
RUN apt-get update && apt-get install -y ca-certificates sqlite3 && rm -rf /var/lib/apt/lists/*
# Create data directory for sqlite
RUN mkdir -p /app/data