File size: 477 Bytes
bfc7b8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM python:3.11.9-slim

# Copy requirements file
COPY requirements.txt .

# Update pip
RUN pip --timeout=3000 install --no-cache-dir --upgrade pip

# Install dependecies
RUN pip --timeout=3000 install --no-cache-dir -r requirements.txt

# Make project directory
RUN mkdir -p /src/client/

# Set working directory
WORKDIR /src/client

# Copy client frontend
COPY . .

# Expose app port
EXPOSE 8501

# Start application
CMD ["streamlit", "run", "app.py"]