Spaces:
Running
Running
V15: Use V15 auto-continue patch
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Restore + patch frontend + backend models + auto-continue
|
| 2 |
FROM node:20-alpine AS frontend-builder
|
| 3 |
RUN apk add --no-cache git python3
|
| 4 |
RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /source
|
|
@@ -7,9 +7,9 @@ RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /sour
|
|
| 7 |
COPY patch_frontend.py /tmp/patch_frontend.py
|
| 8 |
RUN python3 /tmp/patch_frontend.py
|
| 9 |
|
| 10 |
-
# Patch auto-continue
|
| 11 |
-
COPY
|
| 12 |
-
RUN python3 /tmp/
|
| 13 |
|
| 14 |
WORKDIR /source/frontend
|
| 15 |
RUN npm config set fetch-timeout 120000 && \
|
|
|
|
| 1 |
+
# Restore + patch frontend + backend models + auto-continue V15
|
| 2 |
FROM node:20-alpine AS frontend-builder
|
| 3 |
RUN apk add --no-cache git python3
|
| 4 |
RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /source
|
|
|
|
| 7 |
COPY patch_frontend.py /tmp/patch_frontend.py
|
| 8 |
RUN python3 /tmp/patch_frontend.py
|
| 9 |
|
| 10 |
+
# Patch auto-continue V15
|
| 11 |
+
COPY patch_auto_continue_v15.py /tmp/patch_auto_continue_v15.py
|
| 12 |
+
RUN python3 /tmp/patch_auto_continue_v15.py
|
| 13 |
|
| 14 |
WORKDIR /source/frontend
|
| 15 |
RUN npm config set fetch-timeout 120000 && \
|