Reduce image size by removing apt cache.
This commit is contained in:
parent
5f9f8b4bb8
commit
a64ca97947
@ -2,7 +2,7 @@ FROM debian:bookworm
|
||||
MAINTAINER yohan <783b8c87@scimetis.net>
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
ENV TZ Europe/Paris
|
||||
RUN apt-get update && apt-get -y install curl gunicorn sqlite3 python3-pip python3-requests python3-yaml python3-flask python3-serial udev ow-shell
|
||||
RUN apt-get update && apt-get -y install curl gunicorn sqlite3 python3-pip python3-requests python3-yaml python3-flask python3-serial udev ow-shell; rm -rf /var/lib/apt/lists/*
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES 1
|
||||
RUN pip install teleinfo
|
||||
WORKDIR /root
|
||||
|
Loading…
Reference in New Issue
Block a user