feat(main): main

This commit is contained in:
2026-03-09 13:29:23 -04:00
parent f14454b4c8
commit b1a93161c0
22 changed files with 719 additions and 192 deletions

View File

@@ -1,10 +1,14 @@
FROM python:3.12-slim-bookworm
# System dependencies for psycopg/postgres and general utilities
# System dependencies for psycopg/postgres, nodejs, and general utilities
RUN apt-get update && apt-get install -y \
libpq-dev \
gcc \
curl \
gnupg \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install uv globally
@@ -19,6 +23,9 @@ COPY . /app
# --system ensures it installs into the global python environment rather than venv
RUN uv pip install --system django psycopg django-environ gunicorn django-ninja django-cors-headers yt-dlp
# Install npm dependencies
RUN npm install
# Expose Django default port
EXPOSE 8000