Switch to unified view

a b/aiagents4pharma/talk2biomodels/Dockerfile
1
FROM python:3.12-slim
2
3
WORKDIR /app
4
5
# Install system dependencies required for compiling packages
6
RUN apt-get update && apt-get install -y \
7
  g++ \
8
  build-essential \
9
  && rm -rf /var/lib/apt/lists/*
10
11
# Copy necessary files
12
COPY aiagents4pharma/talk2biomodels /app/aiagents4pharma/talk2biomodels
13
COPY docs /app/docs
14
COPY app /app/app
15
COPY requirements.txt /app
16
17
# Install Python dependencies
18
RUN pip install --upgrade pip setuptools wheel
19
RUN pip install --no-cache-dir -r requirements.txt
20
21
# Expose the default Streamlit port
22
EXPOSE 8501
23
24
# Run the Streamlit application
25
CMD ["streamlit", "run", "app/frontend/streamlit_app_talk2biomodels.py", "--server.port=8501", "--server.address=0.0.0.0"]
26