🌟 Initial project setup with backend (FastAPI), frontend (Streamlit), Milvus, and Flowise in Docker 🧱📦

* Added backend infrastructure (FastAPI, Dockerfile, requirements)
* Set up frontend (Streamlit, Dockerfile, requirements)
* Configured docker-compose with Milvus and Flowise services
* Created project structure with .env.template and .dockerignore
* Added initial gitignore and project metadata
This commit is contained in:
François Pelletier 2025-05-11 05:23:24 -04:00
parent bf9d953912
commit 0fffbcfba4
14 changed files with 217 additions and 1 deletions

12
frontend/.dockerignore Normal file
View file

@ -0,0 +1,12 @@
# Python build and runtime artifacts
__pycache__/
*.pyc
*.pyo
venv/
requirements/
# Version control
.git
# OS-specific files
.DS_Store

20
frontend/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# Use an official Python runtime as a parent image
FROM python:3.13-slim
# Set the working directory in the container
WORKDIR /app
# Copy requirements file first to leverage Docker layer caching
COPY requirements.txt .
# Install any needed packages (e.g., streamlit and dependencies)
RUN pip install --no-cache-dir -r requirements.txt
# Copy the current directory contents into the container at /app
COPY . .
# Make port 8501 available (Streamlit default port)
EXPOSE 8501
# Run the Streamlit app
CMD ["streamlit", "run", "app.py"]

View file

@ -0,0 +1,2 @@
streamlit