Skip to content
Snippets Groups Projects
Commit a4881fd1 authored by sub's avatar sub
Browse files

probably the best compromise?

parent e658dda4
No related branches found
No related tags found
1 merge request!29tested new way of building the ASSET image, from scratch bullseye with npm from the official script
Pipeline #23246 passed
...@@ -2,10 +2,7 @@ FROM debian:bullseye-slim AS assets ...@@ -2,10 +2,7 @@ FROM debian:bullseye-slim AS assets
ADD . /src ADD . /src
WORKDIR /src WORKDIR /src
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends curl ca-certificates nodejs RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends curl ca-certificates nodejs npm
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 npm update RUN npm update
RUN npm install RUN npm install
RUN ./node_modules/.bin/webpack RUN ./node_modules/.bin/webpack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment