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

Commit

Permalink
Add command to remove __pycache__ on build (Closes: #161)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahit authored and lamby committed Nov 6, 2017
1 parent 9c58823 commit 092b83b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compose/base/Dockerfile-dev
Expand Up @@ -8,6 +8,9 @@ RUN python3.6 get-pip.py
RUN rm /usr/bin/python
RUN ln -s /usr/bin/python3.6 /usr/bin/python

# Removing existing __pycache__ files
RUN find . -type d -name __pycache__ -exec rm -r {} \+

# Interface
COPY ./interface/requirements /requirements/interface
RUN pip install -U pip
Expand Down

0 comments on commit 092b83b

Please sign in to comment.