systeme-retro-contenu/frontend/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

20 lines
538 B
Docker

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