IQA-Interpretation / Dockerfile
dvarfe's picture
fix(model catalog): add feather fallback
5f75018
Raw
History Blame Contribute Delete
629 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
build-essential \
libgl1 \
libglx-mesa0 \
libglib2.0-0 \
libxcb1 \
libxkbcommon-x11-0 \
libxrender1 \
git git-lfs \
wget curl procps \
bash \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 user
WORKDIR /app
COPY --chown=1000:1000 --link ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=1000:1000 --link . /app
ENV PATH="/home/user/.local/bin:$PATH"
ENV DASH_PORT=7860
ENV MODEL_STORAGE='/data/logs'
USER 1000
CMD ["python", "dashboard_app.py"]