Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-lottery
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1445be5e
authored
Jul 19, 2024
by
陆志强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复命令
parent
7881c289
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
19 deletions
+3
-19
Dockerfile
+3
-11
start.sh
+0
-8
No files found.
Dockerfile
View file @
1445be5e
FROM
registry.cn-hangzhou.aliyuncs.com/cduan/customer-resource-base:zabbix
ADD
./ /var/www/web_lottery
ENV
HOST 0.0.0.0
ENV
TZ Asia/Shanghai
WORKDIR
/var/www/web_lottery
RUN
yarn install
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
4002
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/lottery
COPY
./dist /usr/share/nginx/www/lottery
start.sh
deleted
100644 → 0
View file @
7881c289
#!/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