From a4881fd1746adb370c9ead036783b3f747b34cfd Mon Sep 17 00:00:00 2001 From: sub <sub@incal.net> Date: Tue, 2 Nov 2021 17:15:42 +0100 Subject: [PATCH] probably the best compromise? --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2112216..2dc38dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,7 @@ FROM debian:bullseye-slim AS assets ADD . /src WORKDIR /src -RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends curl ca-certificates nodejs -RUN curl -qL https://www.npmjs.com/install.sh | sh -RUN npm install --save core-js@3.3 -RUN npm install --save css-loader@6.5.0 +RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends curl ca-certificates nodejs npm RUN npm update RUN npm install RUN ./node_modules/.bin/webpack -- GitLab