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
712fb5c9
Commit
712fb5c9
authored
Nov 11, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a299ca1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
Dockerfile
templates/python/Dockerfile
+0
-1
docker-entrypoint.sh
templates/python/docker-entrypoint.sh
+1
-1
No files found.
templates/python/Dockerfile
View file @
712fb5c9
...
...
@@ -13,7 +13,6 @@ 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
config.ini project/server/config/release/config.ini
COPY
docker-entrypoint.sh .
COPY
dist.tgz ./${SYSTEM_NAME}/dist.tgz
...
...
templates/python/docker-entrypoint.sh
View file @
712fb5c9
...
...
@@ -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=
release
--port=80"
echo
"python run.py --mode=
beta
--port=80"
python
${
package_path
}
/server/run.py
--mode
=
release
--port
=
80
\ 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