nexus-1/Dockerfile
2026-01-26 09:45:31 -05:00

22 lines
369 B
Docker

# Nexus - Django API Dockerfile
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
COPY manage.py .
COPY api/ .
COPY nexus/ .
COPY static/ .
COPY templates/ .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["gunicorn", "nexus.asgi:application", "-k", "uvicorn.workers.UvicornWorker"]