CoolFace
Apppublic

dvarfe/IQA-Interpretation

sourceHugging Faceupdated 3mo agoView on Hugging Face
1likes
Dockerfile32 linesDownload Raw Back to root
1FROM python:3.10-slim2 3RUN apt-get update && apt-get install -y \4    build-essential \5    libgl1 \6    libglx-mesa0 \7    libglib2.0-0 \8    libxcb1 \9    libxkbcommon-x11-0 \10    libxrender1 \11    git git-lfs \12    wget curl procps \13    bash \14    && rm -rf /var/lib/apt/lists/*15 16RUN useradd -m -u 1000 user17 18WORKDIR /app19 20COPY --chown=1000:1000 --link ./requirements.txt requirements.txt21 22RUN pip install --no-cache-dir --upgrade -r requirements.txt23 24COPY --chown=1000:1000 --link . /app25 26ENV PATH="/home/user/.local/bin:$PATH"27ENV DASH_PORT=786028ENV MODEL_STORAGE='/data/logs'29 30USER 100031 32CMD ["python", "dashboard_app.py"]