MK_Quant_Monitor / Dockerfile
maxkru92's picture
chore: update Dockerfile
8a4dbbe verified
Raw
History Blame Contribute Delete
499 Bytes
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends gcc libc-dev ca-certificates git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN pip install --upgrade pip setuptools wheel \
&& pip install --no-cache-dir -r /app/requirements.txt
COPY . /app
EXPOSE 8501
CMD streamlit run app.py --server.port=8501 --server.address=0.0.0.0 --server.headless=true