who the fuck even knows
This commit is contained in:
parent
23cc5a971c
commit
5b1b75d67f
@ -3,16 +3,15 @@ FROM alpine:3.11 as builder
|
||||
RUN apk add --no-cache \
|
||||
git \
|
||||
npm \
|
||||
make \
|
||||
bash \
|
||||
python3
|
||||
|
||||
ENV NODE_ENV=production
|
||||
#ENV NODE_ENV=production
|
||||
|
||||
# to get around errors from differing stack sizes in musl
|
||||
# https://wiki.musl-libc.org/functional-differences-from-glibc.html#Thread_stack_size
|
||||
RUN npm config set unsafe-perm true
|
||||
RUN npm install -g webpack webpack-cli
|
||||
RUN npm install -g webpack webpack-cli node-gyp
|
||||
|
||||
ENV WIKIJS_VERSION=2.2.51
|
||||
|
||||
@ -22,7 +21,9 @@ ADD nextcloud-auth.patch /build/nextcloud-auth.patch
|
||||
WORKDIR /build
|
||||
RUN git apply nextcloud-auth.patch
|
||||
RUN npm install
|
||||
RUN make build
|
||||
# don't 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
|
||||
|
||||
FROM thallian/confd-env:latest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user