Updated Continerfiles to minimize size
This commit is contained in:
@@ -4,7 +4,8 @@ ENV LNBITS_VER={{lnbits_version}}
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN dnf update -y \
|
||||
RUN printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf \
|
||||
&& dnf update -y \
|
||||
&& dnf install -y git \
|
||||
python3.11 \
|
||||
python3.11-devel \
|
||||
@@ -26,7 +27,7 @@ RUN dnf update -y \
|
||||
COPY .env .env
|
||||
RUN dnf autoremove -y python3.11-devel gcc automake make \
|
||||
&& dnf clean all \
|
||||
&& rm -fr /tmp/*
|
||||
&& rm -rf /var/cache/* /var/log* /tmp/*
|
||||
|
||||
ENV PATH="/root/.local/bin:$PATH"
|
||||
ENV LNBITS_PORT="5000"
|
||||
|
||||
Reference in New Issue
Block a user