Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
ci(docker-image): optimze docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
felix committed Jul 16, 2019
1 parent 6a6cdef commit 1dcfdfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ test*.yml
toy*
release.sh
shell/
.tmp/
.tmp/
.git/
.github/
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ FROM dependency as base

ADD . ./

RUN pip install .[all]
RUN pip install .[all] \
&& rm -rf /tmp/*

WORKDIR /

Expand Down

0 comments on commit 1dcfdfa

Please sign in to comment.