Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
a4466985
提交
a4466985
authored
7月 17, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
http://git.mmcuav.cn/iuav/csf-admin
into develop
上级
fb69fdf3
5eb11da4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
8 行删除
+5
-8
Dockerfile
Dockerfile
+2
-6
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
index.tsx
src/pages/customManage/customIdentity/index.tsx
+2
-1
没有找到文件。
Dockerfile
浏览文件 @
a4466985
...
...
@@ -2,8 +2,6 @@ FROM node:18-alpine as builder
ARG
PROFILES_ACTIVE
ENV
PROFILES_ACTIVE=$PROFILES_ACTIVE
WORKDIR
/app
# Install dependencies based on the preferred package manager
COPY
package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN
\
if
[
-f
pnpm-lock.yaml
]
;
then
yarn global add pnpm
&&
pnpm i
--frozen-lockfile
;
\
...
...
@@ -11,7 +9,6 @@ RUN \
elif
[
-f
package-lock.json
]
;
then
npm ci
;
\
else
echo
"Lockfile not found."
&&
exit
1
;
\
fi
COPY
. .
RUN
\
...
...
@@ -19,8 +16,6 @@ RUN \
else
echo
"env PROFILES_ACTIVE !=development. exec yarn run build"
&&
yarn run build
;
\
fi
# RUN npm run build
# nginx
FROM
nginx:alpine as production
VOLUME
["/var/log/nginx/"]
...
...
@@ -32,4 +27,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html
COPY
nginx.conf /etc/nginx/nginx.conf
EXPOSE
80
# Containers run nginx with global directives and daemon off
ENTRYPOINT
["nginx", "-g", "daemon off;"]
ENTRYPOINT
["nginx", "-g", "daemon off;"]
\ No newline at end of file
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
a4466985
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag
:
5868237b60e1d3a5da2c659ac26d445dbfb21cd3
newTag
:
276dfc6cfa696e07eae1f42082c946103fec0d7c
src/pages/customManage/customIdentity/index.tsx
浏览文件 @
a4466985
...
...
@@ -142,7 +142,8 @@ const CustomIdentityView = () => {
title
:
'服务评价'
,
dataIndex
:
'score'
,
align
:
'center'
,
render
:
(
text
)
=>
text
&&
<
Rate
disabled
defaultValue=
{
Number
(
text
)
}
/>,
width
:
'120px'
,
render
:
(
text
)
=>
text
&&
<
Rate
disabled
value=
{
Number
(
text
)
}
/>,
},
{
title
:
'申请时间'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论