diff --git a/Dockerfile b/Dockerfile index fed06ef..87cd339 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.12 as builder +FROM alpine:3.14 as builder RUN apk add --no-cache \ git \ @@ -17,14 +17,14 @@ RUN npm install -g \ webpack-cli \ node-gyp -ENV WIKIJS_VERSION=2.5.144 +ENV WIKIJS_VERSION=2.5.201 RUN git clone https://github.com/Requarks/wiki.git -b $WIKIJS_VERSION /build ADD nextcloud-auth.patch /build/nextcloud-auth.patch WORKDIR /build RUN git apply nextcloud-auth.patch -RUN npm install +RUN npm install --legacy-peer-deps # don't know why this is needed here too, but what the hell RUN npm install --save-dev webpack webpack-cli RUN npx webpack --profile --config dev/webpack/webpack.prod.js