News for hackers. Stuff that matters.
Re:Using Docker to develop and deploy Django apps by interrrested on Monday October 03, 2016 @10:06PM (#12632846)
In Dockerfile:

# Remove the git repo to save space.

RUN rm -rf /code/.git

Pretty sure that it will not save any space because it will be in separate layer. If you want space to be saved to should be done as "one command".

RUN git clone ... /code/ && rm -rf /code/.git

Re:Using Docker to develop and deploy Django apps by StavrosK on Tuesday October 04, 2016 @05:11AM (#12634222)
Ah, thanks for that! I wasn't sure if docker was sending all the commits or just the latest one. Will change, thanks!