Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-questionnaire
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
35184cca
authored
Jul 22, 2024
by
陆志强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 代码优化
parent
15a210e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
Dockerfile
+4
-11
start.sh
+0
-8
No files found.
Dockerfile
View file @
35184cca
FROM
registry.cn-hangzhou.aliyuncs.com/cduan/customer-resource-base:zabbix
ADD
./ /var/www/web_questionnaire
ENV
HOST 0.0.0.0
ENV
TZ Asia/Shanghai
WORKDIR
/var/www/web_questionnaire
RUN
yarn install
--registry
=
https://registry.yarnpkg.com
--network-timeout
=
60000
RUN
yarn build:prod
RUN
rm
-rf
assets components layouts middleware pages plugins store .eslintrc.js .gitignore build.yml pDockerfile README.md pStart.sh
EXPOSE
4001
RUN
chmod +x start.sh
ENTRYPOINT
["./start.sh"]
FROM
registry.cn-hangzhou.aliyuncs.com/cduan/customer-resource-base:nginx
RUN
mkdir
-p
/usr/share/nginx/www/questionnaire
COPY
./dist /usr/share/nginx/www/questionnaire
start.sh
deleted
100644 → 0
View file @
15a210e1
#!/bin/sh
/etc/init.d/zabbix_agentd start
yarn run pm2:prod
while
true
do
sleep 5
;
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment