Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -8
Dockerfile
CHANGED
@@ -16,14 +16,14 @@ RUN apt-get update && \
|
|
16 |
pip install --no-cache-dir --upgrade pip && \
|
17 |
pip install --no-cache-dir -r /code/requirements.txt
|
18 |
|
19 |
-
RUN echo "Checking for model file in /data..." && \
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
# Copy the rest of the application code from the build context to the container
|
28 |
COPY . /code/
|
29 |
|
|
|
16 |
pip install --no-cache-dir --upgrade pip && \
|
17 |
pip install --no-cache-dir -r /code/requirements.txt
|
18 |
|
19 |
+
# RUN echo "Checking for model file in /data..." && \
|
20 |
+
# if [ ! -f /data/zephyr-7b-beta.Q4_K_M.gguf ]; then \
|
21 |
+
# echo "Model file not found. Downloading..." && \
|
22 |
+
# curl -L -o /data/zephyr-7b-beta.Q4_K_M.gguf https://huggingface.co/TheBloke/zephyr-7B-beta-GGUF/resolve/main/zephyr-7b-beta.Q4_K_M.gguf && \
|
23 |
+
# echo "Download complete."; \
|
24 |
+
# else \
|
25 |
+
# echo "Model file already exists."; \
|
26 |
+
# fi
|
27 |
# Copy the rest of the application code from the build context to the container
|
28 |
COPY . /code/
|
29 |
|