Commit c3ae38df by Peter Dave Hello Committed by GitHub

Optimize apk install process in Dockerfile (#553)

parent 9c77dfbd
......@@ -42,9 +42,7 @@ ARG name
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN sed -i 's/https/http/' /etc/apk/repositories
RUN apk add curl \
&& apk add ca-certificates \
RUN apk add --no-cache curl ca-certificates \
&& update-ca-certificates
# copy running files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment