File size: 426 Bytes
02be258
1713970
 
 
 
 
 
 
 
 
 
 
 
e51c241
1713970
95ff693
1713970
 
a9b374e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Frontend Dockerfile - Frontend API for DockerCompose

FROM python:3.12-slim

WORKDIR /app

# Install frontend-specific dependencies
COPY requirements.txt .
RUN pip install --upgrade pip && \
    pip install -r requirements.txt

# Copy only frontend code
COPY . .
COPY DataBase ./DataBase/

EXPOSE 8501

# Run Streamlit on container startup
CMD ["streamlit", "run", "App.py", "--server.port=8501", "--server.address=0.0.0.0"]