Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Using Docker to develop and deploy Django apps.
# 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
# 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