diff --git a/Dockerfile b/Dockerfile index 080e8ac..6d53a97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN apk add --no-cache \ npm \ bash \ python3 \ - make + make \ + sed #ENV NODE_ENV=production @@ -17,7 +18,7 @@ RUN npm install -g \ webpack-cli \ node-gyp -ENV WIKIJS_VERSION=v2.5.275 +ENV WIKIJS_VERSION=v2.5.285 RUN git clone https://github.com/Requarks/wiki.git -b $WIKIJS_VERSION /build @@ -26,6 +27,7 @@ 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 +RUN sed -i '0,/.*"dev".*/s//"dev": false,/' package.json FROM thallian/confd-env:latest