fix(Dockerfile): fix security issue in docker image

Refs #7445
This commit is contained in:
Vladimir Gorej
2021-09-13 14:42:13 +03:00
parent 2a1b7101f0
commit 3c9061e6b4

View File

@@ -2,9 +2,9 @@
# We don't declare them here — take a look at our docs.
# https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
FROM nginx:1.19-alpine
FROM nginx:1.21-alpine
RUN apk update && apk add --no-cache "nodejs>=14.17.4-r0"
RUN apk update && apk add --no-cache "nodejs>=14.17.6-r0"
LABEL maintainer="fehguy"