osint-dashboard/Dockerfile

20 lines
446 B
Text
Raw Normal View History

2026-06-04 20:30:04 -04:00
FROM python:3.13-slim AS base
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY app/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
COPY alembic.ini ./alembic.ini
COPY alembic/ ./alembic/
RUN chmod +x /app/app/docker-entrypoint.sh
2026-06-04 20:30:04 -04:00
EXPOSE 8000
ENV PYTHONPATH=/app/app
ENTRYPOINT ["/app/app/docker-entrypoint.sh"]