Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
docker-image
Commits
9b0d965f
Commit
9b0d965f
authored
May 12, 2018
by
caiyanming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refractor python docker
Change-Id: I4e31e5a1c08fb0c1a226a55e3fc50423dd07dac8
parent
178506f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
python/Dockerfile
python/Dockerfile
+3
-6
No files found.
python/Dockerfile
View file @
9b0d965f
...
...
@@ -17,9 +17,8 @@
FROM
python:3
MAINTAINER
xt
WORKDIR
/var/app
ENV
PATH /opt/conda/bin:$PATH
ENV
PYTHONUNBUFFERED 1
ENV
TZ Asia/Shanghai
COPY
sources.list /etc/apt/sources.list
COPY
requirements.txt ./
...
...
@@ -31,6 +30,4 @@ RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5 \
&&
pip
install
--no-cache-dir
--trusted-host
mirrors.aliyun.com
\
-i
http://mirrors.aliyun.com/pypi/simple
-r
requirements.txt
ENV
TZ Asia/Shanghai
CMD
[ "python", "/usr/local/app/startup.py" ]
CMD
[ "/bin/bash" ]
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