update base image
This commit is contained in:
parent
e5acdd43c9
commit
9fe5b0bcd5
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.15 as builder
|
FROM docker.io/alpine:3.16 as builder
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
git \
|
git \
|
||||||
@ -25,11 +25,11 @@ RUN git clone https://github.com/Requarks/wiki.git -b $WIKIJS_VERSION /build
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN npm install --legacy-peer-deps
|
RUN npm install --legacy-peer-deps
|
||||||
# don't know why this is needed here too, but what the hell
|
# don't know why this is needed here too, but what the hell
|
||||||
RUN npm install --save-dev webpack webpack-cli
|
RUN npm install --legacy-peer-deps --save-dev webpack webpack-cli
|
||||||
RUN npx webpack --profile --config dev/webpack/webpack.prod.js
|
RUN npx webpack --profile --config dev/webpack/webpack.prod.js
|
||||||
RUN sed -i '0,/.*"dev".*/s//"dev": false,/' package.json
|
RUN sed -i '0,/.*"dev".*/s//"dev": false,/' package.json
|
||||||
|
|
||||||
FROM thallian/confd-env:latest
|
FROM docker.io/thallian/confd-env:3.16
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user