mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-21 12:36:36 +00:00
Merge pull request #792 from tcely/patch-6
Clean up `__pycache__` directories
This commit is contained in:
commit
6cfd860b10
@ -297,6 +297,9 @@ RUN --mount=type=tmpfs,target=/cache \
|
||||
--mount=type=cache,id=apt-cache-cache,sharing=locked,target=/var/cache/apt \
|
||||
--mount=type=bind,source=Pipfile,target=/app/Pipfile \
|
||||
set -x && \
|
||||
# Remove __pycache__ directories from the image
|
||||
PYTHONPYCACHEPREFIX=/cache/pycache && \
|
||||
export PYTHONPYCACHEPREFIX && \
|
||||
# Update from the network and keep cache
|
||||
rm -f /etc/apt/apt.conf.d/docker-clean && \
|
||||
apt-get update && \
|
||||
|
Loading…
Reference in New Issue
Block a user