Browse Source

1、feat: 打包

tuon 1 year ago
parent
commit
75c7db2f41

+ 1 - 1
docker/Dockerfile-with-nginx

@@ -16,7 +16,7 @@ COPY --from=builder /app/app /app
 COPY server/conf /app/conf
 COPY server/data  /app/data
 #COPY ../server/static  /app/static
-COPY dist  /app/static/web
+COPY frontend/dist  /app/static/web
 COPY docker/entrypoint.sh /entrypoint.sh
 
 RUN chmod +x /entrypoint.sh /app/app

File diff suppressed because it is too large
+ 0 - 0
frontend/dist/assets/index-044fcdd9.js


+ 3 - 3
frontend/dist/index.html

@@ -1,10 +1,10 @@
 <!DOCTYPE html><html lang="en"><head>
     <meta charset="UTF-8">
-    <link rel="icon" type="image/svg+xml" href="/vite.svg">
+    <link rel="icon" type="image/svg+xml" href="/nginx-ui/vite.svg">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>NginxUI</title>
     <script type="application/javascript" src="./config.js"></script>
-    <script crossorigin="">import('/assets/index-d94fb700.js').finally(() => {
+    <script crossorigin="">import('/nginx-ui/assets/index-044fcdd9.js').finally(() => {
             
     const qiankunLifeCycle = window.moudleQiankunAppLifeCycles && window.moudleQiankunAppLifeCycles['nginx-ui'];
     if (qiankunLifeCycle) {
@@ -15,7 +15,7 @@
     }
   
           })</script>
-    <link rel="stylesheet" href="/assets/index-49502c45.css">
+    <link rel="stylesheet" href="/nginx-ui/assets/index-49502c45.css">
   </head>
   <body>
     <div id="nginx_ui_root"></div>

Some files were not shown because too many files changed in this diff