CoolFace
Apppublic

agentic-labs/lsproxy-tutorial

sourceHugging Faceagpl-3.0updated 2y agoView on Hugging Face
0likes
Dockerfile30 linesDownload Raw Back to root
1FROM agenticlabs/lsproxy:0.1.12 3# Combine all apt operations and user/directory setup in one layer4RUN apt-get update && apt-get install -y \5    python3 \6    python3-pip \7    git \8    && rm -rf /var/lib/apt/lists/* \9    && useradd -m -u 1000 appuser \10    && mkdir -p /mnt/workspace /usr/local/cargo \11    && chown -R appuser:appuser /mnt/workspace /usr/local/cargo12 13WORKDIR /app14COPY requirements.txt tutorial.py ./15RUN pip install --break-system-packages -r requirements.txt16 17EXPOSE 786018 19# Combine git operations and file ownership changes in one layer20USER appuser21RUN git clone https://github.com/devflowinc/trieve /mnt/workspace && \22    cd /mnt/workspace && \23    git checkout e65889a13715e8833e7cccfe0168b57c1fc966cc24 25USER root26COPY start.sh /start.sh27RUN chmod +x /start.sh && chown -R appuser:appuser /mnt/workspace /start.sh /app28 29USER appuser30CMD ["/start.sh"]