Compare commits

...

3 Commits

Author SHA1 Message Date
MaxKeyTop
9ea0c42ad0
!67 !1 modify dockerfile
Merge pull request !67 from 乐淘/main
2025-09-19 08:51:54 +00:00
乐淘
d794e00369
!1 modify dockerfile
Merge pull request !1 from 乐淘/N/A
2025-09-19 03:08:51 +00:00
乐淘
462fda27d4
modify dockerfile
Signed-off-by: 乐淘 <ttgzs_wt@163.com>
2025-09-19 03:07:42 +00:00
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#MaxKey Frontend Docker Build
FROM node:16.14.2
FROM node:16.14.2 as builder
LABEL authors="MaxKey <support@maxsso.net>"
@ -22,7 +22,7 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf
#RUN rm -rf /usr/share/nginx/html/*
COPY dist /usr/share/nginx/html/maxkey
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey
#CMD ["nginx", "-g", "daemon off;"]

View File

@ -1,6 +1,6 @@
#MaxKey Mgt Frontend Docker Build
FROM node:16.14.2
FROM node:16.14.2 as builder
LABEL authors="MaxKey <support@maxsso.net>"
@ -22,7 +22,7 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf
#RUN rm -rf /usr/share/nginx/html/*
COPY dist /usr/share/nginx/html/maxkey-mgt
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey-mgt
#CMD ["nginx", "-g", "daemon off;"]