Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
1e972c24
Commit
1e972c24
authored
Apr 06, 2018
by
Guilhem Saurel
Browse files
Dockerfile: needs docker…
parent
547e63aa
Pipeline
#507
passed with stages
in 2 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
1e972c24
FROM
python
FROM
python
:jessie
EXPOSE
8000
...
...
@@ -8,10 +8,15 @@ WORKDIR /app
ADD
requirements.txt ./
RUN
apt-get update
-qq
&&
apt-get
install
-qqy
\
apt-transport-https
\
git
\
libpq-dev
\
netcat-openbsd
\
&&
pip3
install
--no-cache-dir
-r
requirements.txt
\
&&
curl
-fsSL
https://download.docker.com/linux/debian/gpg | apt-key add -
\
&&
echo
"deb [arch=amd64] https://download.docker.com/linux/debian jessie stable"
>>
/etc/apt/sources.list
\
&&
apt-get update
-qq
&&
apt-get
install
-qqy
docker-ce
RUN
pip3
install
--no-cache-dir
-r
requirements.txt
\
gunicorn
\
psycopg2
\
python-memcached
...
...
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