mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
build: try to fix docker release
This commit is contained in:
parent
089dda4b1f
commit
a641e01d75
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue