17 lines
282 B
Docker
17 lines
282 B
Docker
|
FROM python:3.12-slim
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
ARG PYTHONDONTWRITEBYTECODE=1 \
|
||
|
PYTHONUNBUFFERED=1 \
|
||
|
STREAMLIT_SERVER_PORT=8501 \
|
||
|
STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
||
|
|
||
|
COPY requirements.txt .
|
||
|
|
||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
||
|
COPY app.py .
|
||
|
|
||
|
CMD streamlit run app.py
|