Don't create cache with apk, use cdn network

This commit is contained in:
Sandro Jäckel
2020-05-01 19:40:02 +02:00
parent 1034aa1980
commit a8b188cd22

View File

@@ -1,8 +1,8 @@
FROM alpine:3.11
RUN \
apk add --update npm python ffmpeg && \
apk add --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \
apk add --no-cache npm python ffmpeg && \
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
atomicparsley
# Change directory so that our commands run inside this new directory
@@ -21,4 +21,4 @@ RUN npm install
EXPOSE 17442
# Run the specified command within the container.
CMD [ "node", "app.js" ]
CMD [ "node", "app.js" ]