Skip to content

Commit

Permalink
upgrade node20 in dockerfile/dashboard
Browse files Browse the repository at this point in the history
Signed-off-by: YoungHypo <haiboyang@smail.nju.edu.cn>
  • Loading branch information
YoungHypo committed Aug 23, 2024
1 parent 1ab109a commit e7b86fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_image/docker/common/dashboard/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:16.20
FROM node:20.15

WORKDIR /usr/src/app/
USER root
RUN mkdir -p /usr/src/app && cd /usr/src/app
COPY src/dashboard /usr/src/app
RUN yarn --network-timeout 600000 && yarn run build
RUN export NODE_OPTIONS=--openssl-legacy-provider && yarn --network-timeout 600000 && yarn run build

FROM nginx:1.15.12
COPY --from=0 /usr/src/app/dist /usr/share/nginx/html
Expand Down

0 comments on commit e7b86fa

Please sign in to comment.