From 958f80e20003f92ac36e6347018019ce9d6f20f9 Mon Sep 17 00:00:00 2001 From: GlassedSilver Date: Sun, 1 May 2022 11:28:34 +0200 Subject: [PATCH] the good? I learn a lot about Docker building --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c84989..2cab91a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ RUN apt-get update && apt-get -y install \ curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ apt-get -y install \ nodejs \ - npm \ - node-gyp && \ + npm && \ + apt-get install -f && \ npm install -g @angular/cli WORKDIR /build @@ -38,7 +38,6 @@ RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - RUN apt-get update && apt-get -y install \ - npm \ python2 \ python3 \ atomicparsley