udpates to flow and nfo manager for TV

This commit is contained in:
2025-09-22 10:03:59 -04:00
parent e7749620f6
commit a74feeb67e
4 changed files with 18 additions and 1 deletions
+9 -1
View File
@@ -1,9 +1,13 @@
FROM python:3.11-slim
# Build argument for git branch
ARG GIT_BRANCH=main
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONIOENCODING=utf-8
PYTHONIOENCODING=utf-8 \
GIT_BRANCH=${GIT_BRANCH}
# Install system dependencies including PostgreSQL client libraries
RUN apt-get update && apt-get install -y \
@@ -24,6 +28,10 @@ RUN pip install --no-cache-dir --upgrade pip && \
# Copy application code
COPY . .
# Create git metadata for version detection based on build arg
RUN mkdir -p .git && \
echo "ref: refs/heads/${GIT_BRANCH}" > .git/HEAD
# Copy DLL to a dedicated directory and create entrypoint script
RUN mkdir -p /app/emby-plugin && \
cp /app/Emby-DLL/NFOGuard.Emby.Plugin.dll /app/emby-plugin/ && \