posture / Dockerfile
ivorobyev's picture
Update Dockerfile
ec4b3d0 verified
raw
history blame
411 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
ENV STREAMLIT_SERVER_PORT=$PORT
ENV STREAMLIT_TELEMETRY_ENABLED=false
CMD ["streamlit", "run", "src/streamlit_app.py"]