push to 2.5.201

This commit is contained in:
Sebastian Hugentobler 2021-06-20 13:17:37 +02:00
parent 744bcd80b9
commit 697f58c0e4
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -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