PLOBIN / Dockerfile
dohyune's picture
Update Dockerfile
3ebb433 verified
raw
history blame contribute delete
549 Bytes
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"]