hanantonio's picture
Upload 5 files
ba5c8ae verified
raw
history blame
520 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
COPY src/ ./src/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN pip install fastopic==1.0.1 --no-deps
RUN pip install topmost==1.0.2 --no-deps
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]