From 05a964084abbe46776f36a5074b6380a42443746 Mon Sep 17 00:00:00 2001 From: Uzair Aziz Suria <65369471+uzair-suria@users.noreply.github.com> Date: Wed, 15 Sep 2021 18:24:24 +0500 Subject: [PATCH] Update Dockerfile to conform with Alpine 3.8+ Replaced `RUN apk add --update nodejs nodejs-npm` with `RUN apk add --update nodejs npm` to remove [errors](https://github.com/aamirpinger/docker-slide-code/issues/5#issue-988589011) during build using Alpine Versions 3.8 and above. More detail available at [superuser](https://superuser.com/a/1424979/534385) --- node-js-app/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-js-app/Dockerfile b/node-js-app/Dockerfile index 1dd9908..1b2a9f8 100644 --- a/node-js-app/Dockerfile +++ b/node-js-app/Dockerfile @@ -1,6 +1,6 @@ FROM alpine LABEL maintainer="aamirpinger@yahoo.com" -RUN apk add --update nodejs nodejs-npm +RUN apk add --update nodejs npm COPY . /src WORKDIR /src RUN npm install