A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
feat: remove comments
dextmorgn22ba7615a7e4
diff --git a/flowsint-api/Dockerfile b/flowsint-api/Dockerfileindex 50b7db10..48d3e8a5 100644--- a/flowsint-api/Dockerfile+++ b/flowsint-api/Dockerfile@@ -1,11 +1,8 @@-# --- Base stage with Python 3.12 ---FROM python:3.12-slim AS base-# Environment variablesENV PYTHONUNBUFFERED=1ENV POETRY_VIRTUALENVS_CREATE=false-# Install system dependenciesRUN apt-get update && apt-get install -y \build-essential \curl \@@ -15,55 +12,45 @@ RUN apt-get update && apt-get install -y \libcairo2-dev \&& rm -rf /var/lib/apt/lists/*-# Install PoetryRUN curl -sSL https://install.python-poetry.org | python3 - \&& ln -s /root/.local/bin/poetry /usr/local/bin/poetryWORKDIR /app-# --- Development stage ---FROM base AS devENV APP_ENV=development-# Copy all dependency packagesCOPY flowsint-core /app/flowsint-coreCOPY flowsint-types /app/flowsint-typesCOPY flowsint-transforms /app/flowsint-transforms-# Copy API filesCOPY flowsint-api /app/flowsint-apiWORKDIR /app/flowsint-api-# Install dependencies with dev packagesRUN poetry install --no-root-# Expose FastAPI portEXPOSE 5001ENTRYPOINT ["/app/flowsint-api/entrypoint.sh"]CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5001", "--reload"]-# --- Production stage ---+# Production stageFROM base AS prodENV APP_ENV=production-# Copy all dependency packagesCOPY flowsint-core /app/flowsint-coreCOPY flowsint-types /app/flowsint-typesCOPY flowsint-transforms /app/flowsint-transforms-# Copy API filesCOPY flowsint-api /app/flowsint-apiWORKDIR /app/flowsint-api-# Install production dependencies only (no dev)RUN poetry install-# Expose FastAPI portEXPOSE 5001ENTRYPOINT ["/app/flowsint-api/entrypoint.sh"]diff --git a/flowsint-app/Dockerfile.dev b/flowsint-app/Dockerfile.devindex caafb878..36867bb4 100644--- a/flowsint-app/Dockerfile.dev+++ b/flowsint-app/Dockerfile.dev@@ -2,15 +2,11 @@ FROM node:24WORKDIR /app-# Copy package filesCOPY package*.json ./RUN yarn install-# Copy source codeCOPY . .-# Expose Vite dev server portEXPOSE 5173-# Run development server with host flag to make it accessible from outside container-CMD ["yarn", "dev", "--", "--host", "0.0.0.0"]+CMD ["yarn", "dev", "--host", "0.0.0.0"]