tweaking:

- bump nginx to alpine 3.20
- bump cyberchef to latest release
- bump elasticvue to latest release
- update nginx config
This commit is contained in:
t3chn0m4g3
2024-12-04 20:55:39 +01:00
parent b75e22cabc
commit 967ddf6d2f
7 changed files with 7 additions and 6 deletions

View File

@ -4,8 +4,7 @@ FROM node:20-alpine AS builder
#
# Prep and build Elasticvue
RUN apk -U --no-cache add git && \
# git clone https://github.com/cars10/elasticvue -b v1.0.4 /opt/src && \
git clone https://github.com/t3chn0m4g3/elasticvue /opt/src && \
git clone https://github.com/cars10/elasticvue -b v1.1.0 /opt/src && \
# We need to adjust consts.ts so the user has connection suggestion for reverse proxied ES
sed -i "s#export const DEFAULT_CLUSTER_URI = 'http://localhost:9200'#export const DEFAULT_CLUSTER_URI = window.location.origin + '/es'#g" /opt/src/src/consts.ts && \
sed -i 's#href="/images/logo/favicon.ico"#href="images/logo/favicon.ico"#g' /opt/src/index.html && \