From 3a30b876a2f16039075615689d1cf0d3ae1ce509 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 5 Feb 2026 21:24:03 -0500 Subject: [PATCH] capitalizing Dockerfile --- Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f85541 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# Dockerfile +FROM python:slim + +WORKDIR /app + +# System deps for archives and video thumbs (all FOSS) +RUN apt-get update && apt-get install -y --no-install-recommends \ + p7zip-full \ + unar \ + file \ + ffmpeg \ + && rm -rf /var/lib/apt/lists/* + + +# Install deps first for better layer caching +COPY requirements.txt . +RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt + +# Copy the rest of the app +COPY . . + +# Entrypoint controls migrations, background worker, and Gunicorn +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + +EXPOSE 5000 +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file