[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:
parent
9088561acf
commit
9e5f94f5dc
@ -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>"
|
||||||
|
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user