fix build

This commit is contained in:
SvenBrnn
2025-07-13 17:45:30 +02:00
parent a4372a1658
commit a46a35f218
+6 -6
View File
@@ -21,10 +21,10 @@ RUN apt-get update --yes --quiet && DEBIAN_FRONTEND=noninteractive apt-get insta
python3.11-lib2to3 \ python3.11-lib2to3 \
python3.11-gdbm \ python3.11-gdbm \
python3.11-tk \ python3.11-tk \
curl \ bash \
pip && \ curl && \
ln -s /usr/bin/python3 /usr/bin/python && \ ln -s /usr/bin/python3.11 /usr/bin/python && \
pip install --upgrade pip && \ curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
@@ -38,8 +38,8 @@ ADD ./src /work
ENV OLLAMA_MODELS="/runpod-volume" ENV OLLAMA_MODELS="/runpod-volume"
# Install runpod and its dependencies # Install runpod and its dependencies
RUN pip install -r requirements.txt && \ RUN pip install -r requirements.txt && chmod +x /work/start.sh
chmod +x start.sh
# Set the entrypoint # Set the entrypoint
ENTRYPOINT ["/bin/sh", "-c", "/work/start.sh"] ENTRYPOINT ["/bin/sh", "-c", "/work/start.sh"]