Optimize apk install process in Dockerfile (#553)
This commit is contained in:
parent
9c77dfbddd
commit
c3ae38df8b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user