build: try to fix docker release

This commit is contained in:
Johannes Millan 2025-06-29 16:44:27 +02:00
parent 089dda4b1f
commit a641e01d75

View file

@ -8,6 +8,12 @@ FROM --platform=$BUILDPLATFORM node:20 AS build
# set working directory
WORKDIR /app
# install git for git dependencies
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
# configure git to use https instead of ssh
RUN git config --global url."https://github.com/".insteadOf ssh://git@github.com/
# install dependencies
COPY package*.json /app
RUN (npm ci || npm i) && npm i -g @angular/cli