Skip to content

Commit a99b0e6

Browse files
committed
Add keepalives to unreliable download
1 parent c57535d commit a99b0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ RUN groupadd -g 1000 -r app \
118118

119119
# Download the ftm-typepredict model
120120
RUN mkdir /models/ && \
121-
curl -o "/models/model_type_prediction.ftz" "https://public.data.occrp.org/develop/models/types/type-08012020-7a69d1b.ftz"
121+
curl --keepalive-time 2 -o "/models/model_type_prediction.ftz" "https://public.data.occrp.org/develop/models/types/type-08012020-7a69d1b.ftz"
122122

123123
COPY requirements.txt /tmp/
124124
RUN pip3 install --no-cache-dir --no-binary "tesserocr" --no-binary "Pillow" -r /tmp/requirements.txt

0 commit comments

Comments
 (0)