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
7881c289
authored
Mar 07, 2024
by
Lays-lzq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 恢复dockerfile
parent
c4cf3acf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
Dockerfile
+11
-0
start.sh
+8
-0
No files found.
Dockerfile
0 → 100644
View file @
7881c289
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"]
start.sh
0 → 100644
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