mirror of
https://github.com/jumpserver/lina.git
synced 2025-04-28 03:20:24 +00:00
[hotfix]修改build目录
This commit is contained in:
parent
db30ce67a0
commit
1cd4f1f228
@ -1,2 +1,3 @@
|
||||
lina
|
||||
dist
|
||||
node_modules
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
.DS_Store
|
||||
node_modules/
|
||||
dist/
|
||||
lina/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
@ -8,5 +8,5 @@ RUN yarn build:prod
|
||||
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=stage-build /data/dist /opt/lina/
|
||||
COPY --from=stage-build /data/lina /opt/lina/
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
@ -29,7 +29,7 @@ module.exports = {
|
||||
/\/node_modules\/resize-detector\//
|
||||
],
|
||||
publicPath: '/ui/',
|
||||
outputDir: 'dist',
|
||||
outputDir: 'lina',
|
||||
assetsDir: 'assets',
|
||||
lintOnSave: process.env.NODE_ENV === 'development',
|
||||
productionSourceMap: false,
|
||||
|
Loading…
Reference in New Issue
Block a user