Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
da9d5121
Commit
da9d5121
authored
Nov 13, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-api
parent
c31c1945
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
Dockerfile
templates/custom/op-api/Dockerfile
+1
-3
docker-entrypoint.sh
templates/custom/op-api/docker-entrypoint.sh
+2
-2
No files found.
templates/custom/op-api/Dockerfile
View file @
da9d5121
FROM
192.168.4.36/baseimg/
python
FROM
192.168.4.36/baseimg/
nodejs:pm2
MAINTAINER
kalvin "dekun.dai@quantgroup.cn"
ARG
BUILD_NUMBER
...
...
@@ -11,8 +11,6 @@ RUN mkdir logs
RUN
echo
"
${
BUILD_NUMBER
}
"
>>
./version.txt
RUN
pip
install
-i
http://pypi.douban.com/simple
--default-timeout
6000 tornado MySQL-python DBUtils synthesis executor futures
--trusted-host
pypi.douban.com
#RUN apt-get remove python-pip -y && apt-get autoremove -y
EXPOSE
80
COPY
docker-entrypoint.sh .
COPY
dist.tgz ./${SYSTEM_NAME}/dist.tgz
...
...
templates/custom/op-api/docker-entrypoint.sh
View file @
da9d5121
...
...
@@ -11,5 +11,5 @@ tar zxf ${package_path}/dist.tgz -C ${package_path}/
echo
"rm dist.tgz public/dist -rf"
rm
-rf
${
package_path
}
/dist.tgz
echo
"python run.py --mode=beta --port=80"
python
${
package_path
}
/server/run.py
--mode
=
beta
--port
=
80
\ No newline at end of file
echo
"sh start.sh"
sh start.sh
\ No newline at end of file
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