Updated Continerfiles to minimize size

This commit is contained in:
2024-02-19 06:48:17 -06:00
parent 5fc7b39b61
commit 3095ff8d2c
7 changed files with 27 additions and 18 deletions
+3 -2
View File
@@ -29,11 +29,12 @@ RUN npm prune --production
# ---------------
FROM docker.io/almalinux/9-init
RUN dnf update -y \
RUN printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf \
&& dnf update -y \
&& dnf module -y enable nodejs:18 \
&& dnf install -y nodejs \
&& dnf clean all \
&& rm -fr /tmp/*
&& rm -rf /var/cache/* /var/log* /tmp/*
WORKDIR /RTL