mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2026-05-06 08:48:08 +02:00
remove /wheels folder after install to slim down the image
This commit is contained in:
@@ -125,7 +125,8 @@ COPY --chown=${USER}:${USER} --from=builder ${WHEELS} ${WHEELS}
|
||||
|
||||
RUN pip install --no-index -f ${WHEELS} supervisord-dependent-startup gpiod numpy matplotlib && \
|
||||
mkdir -p /usr/lib/python3 && \
|
||||
ln -s /usr/local/lib/python3.10/site-packages /usr/lib/python3/dist-packages
|
||||
ln -s /usr/local/lib/python3.10/site-packages /usr/lib/python3/dist-packages && \
|
||||
rm -Rf ${WHEELS}
|
||||
|
||||
USER ${USER}
|
||||
WORKDIR ${HOME}
|
||||
|
||||
Reference in New Issue
Block a user