17 lines
436 B
Docker
17 lines
436 B
Docker
From python:3.11-slim
|
|
|
|
WORKDIR app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get -y install --no-install-recommends curl vim git openssh-client \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements-dashboard.txt requirements-dashboard.txt
|
|
RUN pip install --no-cache-dir --upgrade pip && pip install -r requirements-dashboard.txt
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PYTHONIOENCODING=UTF-8
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["streamlit", "run", "dashboard/main.py"] |