systeme-retro-contenu/backend/Dockerfile
François Pelletier 0fffbcfba4 🌟 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
2025-05-11 05:23:24 -04:00

17 lines
488 B
Docker

# 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"]