bump cyberchef to 9.55.0, fix glitches

This commit is contained in:
t3chn0m4g3
2023-01-20 17:42:17 +00:00
parent 8547699061
commit 90eab744b1
5 changed files with 13 additions and 10 deletions

View File

@ -1,7 +1,8 @@
FROM node:17.9.0-alpine3.15 as builder #FROM node:17.9.0-alpine3.15 as builder
FROM node:18-alpine3.15 as builder
# #
# Prep and build Cyberchef # Prep and build Cyberchef
ENV CY_VER=v9.48.0 ENV CY_VER=v9.55.0
RUN apk -U --no-cache add build-base git python3 && \ RUN apk -U --no-cache add build-base git python3 && \
chown -R node:node /srv && \ chown -R node:node /srv && \
npm install -g grunt-cli npm install -g grunt-cli

View File

@ -10,7 +10,7 @@ RUN apk -U --no-cache add git && \
cd /opt/app && \ cd /opt/app && \
cp /opt/src/package.json . && \ cp /opt/src/package.json . && \
cp /opt/src/yarn.lock . && \ cp /opt/src/yarn.lock . && \
yarn install && \ yarn install --ignore-optional && \
cp -R /opt/src/* . && \ cp -R /opt/src/* . && \
# We need to set this ENV so we can run Elasticvue in its own location rather than / # We need to set this ENV so we can run Elasticvue in its own location rather than /
VUE_APP_PUBLIC_PATH=/elasticvue/ yarn build && \ VUE_APP_PUBLIC_PATH=/elasticvue/ yarn build && \

View File

@ -90,24 +90,26 @@ server {
############################# #############################
location / { location / {
index index.html;
auth_basic "closed site"; auth_basic "closed site";
auth_basic_user_file /etc/nginx/nginxpasswd; auth_basic_user_file /etc/nginx/nginxpasswd;
try_files $uri $uri/ /index.html?$args; try_files $uri $uri/ /index.html;
} }
location ^~ /cyberchef { location /elasticvue {
index index.html; index index.html;
alias /var/lib/nginx/html/cyberchef; alias /var/lib/nginx/html/esvue/;
try_files $uri $uri/ /index.html?$args; try_files $uri $uri/ /elasticvue/index.html;
} }
location ^~ /elasticvue { location /cyberchef {
index index.html; index index.html;
alias /var/lib/nginx/html/esvue; alias /var/lib/nginx/html/cyberchef/;
try_files $uri $uri/ /index.html?$args; try_files $uri $uri/ /cyberchef/index.html;
} }
################# #################
### Proxied sites ### Proxied sites
################# #################

Binary file not shown.

Binary file not shown.