From 9711522f07583cde623152d70ee7585d3949f54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Quo=C3=9F?= Date: Sun, 19 Sep 2021 18:29:18 +0200 Subject: [PATCH] change alpine cdn --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae14f8d9..3d780f2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,9 @@ FROM base as builder ENV PYTHONUNBUFFERED 1 -RUN apk update && apk add --no-cache --virtual .build-deps libc-dev make gcc musl-dev python3-dev libffi-dev openssl-dev cargo postgresql-dev && \ - mkdir /install +RUN sed -i 's/dl-cdn.alpinelinux.org/dl-5.alpinelinux.org/g' /etc/apk/repositories && \ + apk update && apk add --no-cache --virtual .build-deps libc-dev make gcc musl-dev python3-dev libffi-dev openssl-dev cargo postgresql-dev && \ + mkdir /install WORKDIR /install COPY requirements.txt . RUN python -m pip install --prefix=/install --no-cache-dir --upgrade pip && \