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

Commit 04d0f71

Browse files
committed
🔨 Reduce image size a little
1 parent 0d9efa5 commit 04d0f71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

appdaemon/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ RUN \
1717
\
1818
&& pip3 install --no-cache-dir -r /tmp/requirements.txt \
1919
\
20+
&& find /usr/local \
21+
\( -type d -a -name test -o -name tests -o -name '__pycache__' \) \
22+
-o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
23+
-exec rm -rf '{}' + \
24+
\
2025
&& apk del --purge .build-dependencies
2126

2227
# Copy root filesystem

0 commit comments

Comments
 (0)