fix build
This commit is contained in:
+6
-6
@@ -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"]
|
||||||
Reference in New Issue
Block a user