feat(main): main
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user