File size: 549 Bytes
8b07a18
dbb271f
 
 
 
 
8b07a18
dbb271f
 
3ebb433
 
 
 
 
 
dbb271f
8b07a18
dbb271f
8b07a18
dbb271f
 
3ebb433
 
 
 
 
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
26
FROM python:3.11-slim

WORKDIR /app

RUN apt-get update && apt-get install -y \
    build-essential \
    pkg-config \
    && rm -rf /var/lib/apt/lists/*

# Streamlit ์„ค์ • ๋””๋ ‰ํ† ๋ฆฌ ์ƒ์„ฑ
RUN mkdir -p /app/.streamlit

# Streamlit ์„ค์ • ํŒŒ์ผ ๋ณต์‚ฌ
COPY .streamlit/config.toml /app/.streamlit/config.toml

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 8501

CMD ["streamlit", "run", "app.py", \
     "--server.port=8501", \
     "--server.address=0.0.0.0", \
     "--server.maxUploadSize=200"]