Skip to content

Commit 1df454f

Browse files
committed
Compress at optimization level 2.
1 parent 6470ea6 commit 1df454f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/st
2626
RUN find . -name "*.dist-info" -type d | xargs rm -rf
2727

2828

29-
RUN python -m compileall -b ./python/lib/$runtime/site-packages
29+
RUN python -m compileall -o 2 -b ./python/lib/$runtime/site-packages
3030
RUN find ./python/lib/$runtime/site-packages -name \*.py -delete
3131
RUN find ./python/lib/$runtime/site-packages -name __pycache__ -type d -exec rm -r {} \+
3232

0 commit comments

Comments
 (0)