🌟 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:
parent
bf9d953912
commit
0fffbcfba4
14 changed files with 217 additions and 1 deletions
17
backend/Dockerfile
Normal file
17
backend/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Use the official Python 3.13 image as the base
|
||||
FROM python:3.13-slim
|
||||
|
||||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
# Expose the port the app will run on
|
||||
EXPOSE 5000
|
||||
|
||||
# Copy the current directory contents into the container
|
||||
COPY . .
|
||||
|
||||
# Install dependencies (ensure you have a requirements.txt file)
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Command to run the app using Uvicorn
|
||||
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--port", "5000"]
|
Loading…
Add table
Add a link
Reference in a new issue