-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
161a7b3
commit 7988b7b
Showing
11 changed files
with
153 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#设置构建的基础镜像 | ||
FROM node | ||
FROM node:14.18.0 | ||
RUN mkdir -p /project/ | ||
WORKDIR /project/ | ||
COPY package.json /project/ | ||
#设置npm下载依赖来源为淘宝源 | ||
RUN npm config set registry https://registry.npm.taobao.org | ||
RUN rm -rf node_modules && npm install -g npm && cd /project | ||
RUN npm install -g cnpm --registry https://registry.npm.taobao.org | ||
RUN rm -rf node_modules && cd /project | ||
#安装项目依赖 | ||
RUN npm install | ||
RUN cnpm install | ||
COPY . /project/ | ||
CMD npm run dev | ||
EXPOSE 7001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[ | ||
{ | ||
"add": false, | ||
"delete": false, | ||
"edit": false, | ||
"view": true, | ||
"name": "id", | ||
"type": "string", | ||
"addDefault": "0000001" | ||
}, | ||
{ | ||
"add": true, | ||
"delete": true, | ||
"edit": true, | ||
"view": true, | ||
"name": "tabId", | ||
"type": "string", | ||
"addDefault": "" | ||
}, | ||
{ | ||
"add": true, | ||
"delete": true, | ||
"edit": true, | ||
"view": true, | ||
"name": "name", | ||
"type": "string", | ||
"addDefault": "" | ||
}, | ||
{ | ||
"add": true, | ||
"delete": true, | ||
"edit": true, | ||
"view": true, | ||
"name": "type", | ||
"type": "string", | ||
"addDefault": "" | ||
}, | ||
{ | ||
"add": true, | ||
"delete": true, | ||
"edit": true, | ||
"view": true, | ||
"name": "addDefault", | ||
"type": "string", | ||
"addDefault": "" | ||
}, | ||
{ | ||
"add": true, | ||
"delete": true, | ||
"edit": true, | ||
"view": true, | ||
"name": "remark", | ||
"type": "string", | ||
"addDefault": "" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.