Skip to content

Commit 539fb9b

Browse files
committed
fix vulnerabilities on frontend docker image
1 parent 4103d18 commit 539fb9b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/frontend/efiling-demo/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ RUN yarn build --production=true
1818
#############################################################################################
1919
FROM nginx:1.27.4-alpine
2020

21+
RUN apk update && apk add --upgrade --no-cache libexpat libxml2 libxslt
22+
2123
RUN rm -rf /usr/share/nginx/html/
2224
COPY --from=build /app/build /usr/share/nginx/html
2325
WORKDIR /usr/share/nginx/html

src/frontend/efiling-frontend/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ RUN yarn build
1919
#############################################################################################
2020
FROM nginx:1.27.4-alpine
2121

22+
RUN apk update && apk add --upgrade --no-cache libexpat libxml2 libxslt
23+
2224
RUN rm -rf /usr/share/nginx/html/
2325
COPY --from=build /app/build /etc/nginx/html/efilinghub
2426

0 commit comments

Comments
 (0)