We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2365d44 commit 1749cadCopy full SHA for 1749cad
1 file changed
frontend/Dockerfile
@@ -6,12 +6,11 @@ ENV LANG=C.UTF-8 \
6
LC_ALL=C.UTF-8 \
7
PATH="/app/node_modules/.bin:$PATH"
8
9
+
10
RUN set -ex && \
- sed -i 's/deb.debian.org/mirrors.cloud.tencent.com/g' /etc/apt/sources.list.d/debian.sources && \
11
- apt update && \
12
- apt install -y --no-install-recommends \
13
- git \
14
- ca-certificates
+ apt-get update -o Acquire::Retries=3 && \
+ apt-get install -y --no-install-recommends git ca-certificates && \
+ rm -rf /var/lib/apt/lists/*
15
16
RUN npm config set registry https://mirrors.cloud.tencent.com/npm/
17
0 commit comments