CoolFace
Apppublic

EQTYLab/lineage-explorer

sourceHugging Faceupdated 3y agoView on Hugging Face
37likes
Dockerfile21 linesDownload Raw Back to root
1FROM python:3.10-slim AS backend2WORKDIR /app3 4RUN apt-get update && apt-get install --no-install-recommends -y \5    git ffmpeg curl gnupg \6    && apt-get clean && rm -rf /var/lib/apt/lists/*7 8RUN useradd -m -u 1000 user9 10COPY ./requirements.txt .11RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt12 13USER user14ENV HOME=/home/user \15    PATH=/home/user/.local/bin:$PATH16 17WORKDIR $HOME/app18COPY . .19 20CMD ["python", "app.py"]21