Skip to content

Commit

Permalink
fix frontend docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingtu committed May 23, 2024
1 parent d07fc69 commit 5e5a6f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/ai-reviewer-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM node:16-alpine as build
FROM node:18-alpine as build

ARG SERVICE_NAME

Expand All @@ -16,7 +16,7 @@ RUN yarn build --production=true
#############################################################################################
### PRODUCTION IMAGE ###
#############################################################################################
FROM nginx:1.23.3-alpine
FROM nginx:1.26.0-alpine

RUN rm -rf /usr/share/nginx/html/
COPY --from=build /app/build /usr/share/nginx/html
Expand Down

0 comments on commit 5e5a6f7

Please sign in to comment.