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

tested new way of building the ASSET image, from scratch bullseye with npm from the official script

parent 2d1118d0
No related branches found
No related tags found
No related merge requests found
FROM node:current-buster AS assets FROM debian:bullseye-slim AS assets
ADD . /src ADD . /src
WORKDIR /src WORKDIR /src
RUN npm install && ./node_modules/.bin/webpack
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 webpack -g
# Debian bullseye can't build gostatic due to its strict dependency # Debian bullseye can't build gostatic due to its strict dependency
# on Go 1.16, so we build it separately. # on Go 1.16, so we build it separately.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment