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