fix CVE-2019-5021 caused by nginx-apline (#2514)
Co-authored-by: Matthias Schmieder <matthias.schmieder@stryker.com>
This commit is contained in:
parent
e8733a9bd9
commit
eea610dfe8
@ -53,7 +53,7 @@ RUN yarn run build
|
|||||||
|
|
||||||
# Stage 2: Bundle the built application into a Docker container
|
# Stage 2: Bundle the built application into a Docker container
|
||||||
# which runs Nginx using Alpine Linux
|
# which runs Nginx using Alpine Linux
|
||||||
FROM nginx:1.15.5-alpine
|
FROM nginx:1.21.1-alpine
|
||||||
RUN apk add --no-cache bash
|
RUN apk add --no-cache bash
|
||||||
RUN rm -rf /etc/nginx/conf.d
|
RUN rm -rf /etc/nginx/conf.d
|
||||||
COPY .docker/Viewer-v2.x /etc/nginx/conf.d
|
COPY .docker/Viewer-v2.x /etc/nginx/conf.d
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user