Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractalis
Commits
de8f8005
Commit
de8f8005
authored
Mar 15, 2018
by
Sascha Herzinger
Browse files
Reduced the docker image size
parent
c0c454d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
de8f8005
FROM
python:3.6-stretch
ARG
SDIST
RUN
mkdir
/app/
COPY
$SDIST /app/
COPY
requirements.txt /app/
COPY
tests/ /app/tests/
WORKDIR
/app/
COPY
$SDIST .
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
r-bioc-limma
RUN
pip3
install
wheel
RUN
pip3
install
fractalis-
*
.tar.gz gunicorn
r-bioc-limma
\
&&
pip3
install
wheel gunicorn
\
&&
pip3
install
fractalis-
*
.tar.gz
\
&&
rm
-rf
/var/lib/apt/lists/
*
Sascha Herzinger
@sascha.herzinger
mentioned in commit
0e855d3c
·
Mar 16, 2018
mentioned in commit
0e855d3c
mentioned in commit 0e855d3c142847b434219ed65ec6878939b6c749
Toggle commit list
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