Skip to content

Commit

Permalink
Removing the .git directory removal from here for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Dec 8, 2022
1 parent ac0601c commit 6d991ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ RUN bash -l -c 'GIT_REPO="$(git config --local remote.origin.url)"; \
RUN apt-get purge -y git curl libcurl4 libcurl3-gnutls && \
apt autoremove -y && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* .git
rm -rf /var/lib/apt/lists/*

# TODO: May want to remove the .git directory but don't do it in this file only Dockerfile.openshift
# Removing it here will remove it from the linked directory which isn't good

RUN python manage.py collectstatic --verbosity 0 --noinput

Expand Down

0 comments on commit 6d991ed

Please sign in to comment.