File size: 291 Bytes
26ec914 7a0ef6e 26ec914 c965fba 26ec914 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
FROM python:3.12-slim
WORKDIR /app
USER root
RUN apt-get update && \
apt-get install -y git && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod 777 -R /app
EXPOSE 8501
CMD ["streamlit", "run", "app.py"] |