[Feature] Change to nginx-unprivileged image for better kubernetes support (#1922)

Breaking change: Port number for Docker Image has changed from 80 to 8080
This commit is contained in:
Henrik Solberg 2026-04-27 17:15:37 +02:00 committed by GitHub
parent 9088561acf
commit 9e5f94f5dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ RUN npm run build
######################################### #########################################
# Package static build files into nginx # # Package static build files into nginx #
######################################### #########################################
FROM nginx:stable-alpine AS cyberchef FROM nginxinc/nginx-unprivileged:stable-alpine AS cyberchef
LABEL maintainer="GCHQ <oss@gchq.gov.uk>" LABEL maintainer="GCHQ <oss@gchq.gov.uk>"

View File

@ -36,7 +36,7 @@ docker build --tag cyberchef --ulimit nofile=10000 .
``` ```
2. Run the docker container 2. Run the docker container
```bash ```bash
docker run -it -p 8080:80 cyberchef docker run -it -p 8080:8080 cyberchef
``` ```
3. Navigate to `http://localhost:8080` in your browser 3. Navigate to `http://localhost:8080` in your browser
@ -45,7 +45,7 @@ docker run -it -p 8080:80 cyberchef
If you prefer to skip the build process, you can use the pre-built image If you prefer to skip the build process, you can use the pre-built image
```bash ```bash
docker run -it -p 8080:80 ghcr.io/gchq/cyberchef:latest docker run -it -p 8080:8080 ghcr.io/gchq/cyberchef:latest
``` ```
Just like before, navigate to `http://localhost:8080` in your browser. Just like before, navigate to `http://localhost:8080` in your browser.